diff options
Diffstat (limited to 'src/core/reporter.cpp')
| -rw-r--r-- | src/core/reporter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp index 365b8f906..d4becdc0a 100644 --- a/src/core/reporter.cpp +++ b/src/core/reporter.cpp | |||
| @@ -236,7 +236,7 @@ void Reporter::SaveSvcBreakReport(u32 type, bool signal_debugger, u64 info1, u64 | |||
| 236 | } | 236 | } |
| 237 | 237 | ||
| 238 | const auto timestamp = GetTimestamp(); | 238 | const auto timestamp = GetTimestamp(); |
| 239 | const auto title_id = system.CurrentProcess()->GetTitleID(); | 239 | const auto title_id = system.GetCurrentProcessProgramID(); |
| 240 | auto out = GetFullDataAuto(timestamp, title_id, system); | 240 | auto out = GetFullDataAuto(timestamp, title_id, system); |
| 241 | 241 | ||
| 242 | auto break_out = json{ | 242 | auto break_out = json{ |
| @@ -263,7 +263,7 @@ void Reporter::SaveUnimplementedFunctionReport(Kernel::HLERequestContext& ctx, u | |||
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | const auto timestamp = GetTimestamp(); | 265 | const auto timestamp = GetTimestamp(); |
| 266 | const auto title_id = system.CurrentProcess()->GetTitleID(); | 266 | const auto title_id = system.GetCurrentProcessProgramID(); |
| 267 | auto out = GetFullDataAuto(timestamp, title_id, system); | 267 | auto out = GetFullDataAuto(timestamp, title_id, system); |
| 268 | 268 | ||
| 269 | auto function_out = GetHLERequestContextData(ctx, system.Memory()); | 269 | auto function_out = GetHLERequestContextData(ctx, system.Memory()); |
| @@ -285,7 +285,7 @@ void Reporter::SaveUnimplementedAppletReport( | |||
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | const auto timestamp = GetTimestamp(); | 287 | const auto timestamp = GetTimestamp(); |
| 288 | const auto title_id = system.CurrentProcess()->GetTitleID(); | 288 | const auto title_id = system.GetCurrentProcessProgramID(); |
| 289 | auto out = GetFullDataAuto(timestamp, title_id, system); | 289 | auto out = GetFullDataAuto(timestamp, title_id, system); |
| 290 | 290 | ||
| 291 | out["applet_common_args"] = { | 291 | out["applet_common_args"] = { |
| @@ -377,7 +377,7 @@ void Reporter::SaveUserReport() const { | |||
| 377 | } | 377 | } |
| 378 | 378 | ||
| 379 | const auto timestamp = GetTimestamp(); | 379 | const auto timestamp = GetTimestamp(); |
| 380 | const auto title_id = system.CurrentProcess()->GetTitleID(); | 380 | const auto title_id = system.GetCurrentProcessProgramID(); |
| 381 | 381 | ||
| 382 | SaveToFile(GetFullDataAuto(timestamp, title_id, system), | 382 | SaveToFile(GetFullDataAuto(timestamp, title_id, system), |
| 383 | GetPath("user_report", title_id, timestamp)); | 383 | GetPath("user_report", title_id, timestamp)); |