summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-21 18:42:17 +1000
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 16:30:14 +1000
commit2dbfac652e938e71a3c7b3efde0c76ca9727f1f7 (patch)
treecce89bac1f69da951ab0098f5b727378f5c8b0a8
parent9187350b322c3140c2bec3938b91289ab55e9aae (diff)
Deglobalize System: Am
-rw-r--r--src/core/hle/service/am/am.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 6c594dcaf..3366fd8ce 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1066,7 +1066,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_)
RegisterHandlers(functions);
- auto& kernel = Core::System::GetInstance().Kernel();
+ auto& kernel = system.Kernel();
gpu_error_detected_event = Kernel::WritableEvent::CreateEventPair(
kernel, Kernel::ResetType::Manual, "IApplicationFunctions:GpuErrorDetectedSystemEvent");
}