summaryrefslogtreecommitdiff
path: root/src/core/reporter.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-02-15 17:42:45 -0500
committerGravatar GitHub2023-02-15 17:42:45 -0500
commit6d77de96dae4763ef78fdea1918b582e5e181653 (patch)
tree0c131de68a68c23f62a8a253b3cf69d3bfc91ee7 /src/core/reporter.cpp
parentMerge pull request #9782 from arades79/fix-consexpr-value-declaration-usage (diff)
parentgeneral: rename CurrentProcess to ApplicationProcess (diff)
downloadyuzu-6d77de96dae4763ef78fdea1918b582e5e181653.tar.gz
yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.tar.xz
yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.zip
Merge pull request #9796 from liamwhite/current
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/reporter.cpp')
-rw-r--r--src/core/reporter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index 59dfb8767..708ae17aa 100644
--- a/src/core/reporter.cpp
+++ b/src/core/reporter.cpp
@@ -110,7 +110,7 @@ json GetProcessorStateData(const std::string& architecture, u64 entry_point, u64
110} 110}
111 111
112json GetProcessorStateDataAuto(Core::System& system) { 112json GetProcessorStateDataAuto(Core::System& system) {
113 const auto* process{system.CurrentProcess()}; 113 const auto* process{system.ApplicationProcess()};
114 auto& arm{system.CurrentArmInterface()}; 114 auto& arm{system.CurrentArmInterface()};
115 115
116 Core::ARM_Interface::ThreadContext64 context{}; 116 Core::ARM_Interface::ThreadContext64 context{};
@@ -234,7 +234,7 @@ void Reporter::SaveSvcBreakReport(u32 type, bool signal_debugger, u64 info1, u64
234 } 234 }
235 235
236 const auto timestamp = GetTimestamp(); 236 const auto timestamp = GetTimestamp();
237 const auto title_id = system.GetCurrentProcessProgramID(); 237 const auto title_id = system.GetApplicationProcessProgramID();
238 auto out = GetFullDataAuto(timestamp, title_id, system); 238 auto out = GetFullDataAuto(timestamp, title_id, system);
239 239
240 auto break_out = json{ 240 auto break_out = json{
@@ -261,7 +261,7 @@ void Reporter::SaveUnimplementedFunctionReport(Kernel::HLERequestContext& ctx, u
261 } 261 }
262 262
263 const auto timestamp = GetTimestamp(); 263 const auto timestamp = GetTimestamp();
264 const auto title_id = system.GetCurrentProcessProgramID(); 264 const auto title_id = system.GetApplicationProcessProgramID();
265 auto out = GetFullDataAuto(timestamp, title_id, system); 265 auto out = GetFullDataAuto(timestamp, title_id, system);
266 266
267 auto function_out = GetHLERequestContextData(ctx, system.Memory()); 267 auto function_out = GetHLERequestContextData(ctx, system.Memory());
@@ -283,7 +283,7 @@ void Reporter::SaveUnimplementedAppletReport(
283 } 283 }
284 284
285 const auto timestamp = GetTimestamp(); 285 const auto timestamp = GetTimestamp();
286 const auto title_id = system.GetCurrentProcessProgramID(); 286 const auto title_id = system.GetApplicationProcessProgramID();
287 auto out = GetFullDataAuto(timestamp, title_id, system); 287 auto out = GetFullDataAuto(timestamp, title_id, system);
288 288
289 out["applet_common_args"] = { 289 out["applet_common_args"] = {
@@ -376,7 +376,7 @@ void Reporter::SaveUserReport() const {
376 } 376 }
377 377
378 const auto timestamp = GetTimestamp(); 378 const auto timestamp = GetTimestamp();
379 const auto title_id = system.GetCurrentProcessProgramID(); 379 const auto title_id = system.GetApplicationProcessProgramID();
380 380
381 SaveToFile(GetFullDataAuto(timestamp, title_id, system), 381 SaveToFile(GetFullDataAuto(timestamp, title_id, system),
382 GetPath("user_report", title_id, timestamp)); 382 GetPath("user_report", title_id, timestamp));