summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-21 10:42:17 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 08:30:14 +0200
commit2dbfac652e938e71a3c7b3efde0c76ca9727f1f7 (patch)
treecce89bac1f69da951ab0098f5b727378f5c8b0a8 /src/core
parentMerge pull request #2535 from DarkLordZach/cheat-v2 (diff)
downloadyuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.tar
yuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.tar.gz
yuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.tar.bz2
yuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.tar.lz
yuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.tar.xz
yuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.tar.zst
yuzu-2dbfac652e938e71a3c7b3efde0c76ca9727f1f7.zip
Diffstat (limited to 'src/core')
-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");
}