VERY experimental Nintendo Switch 2 emulator
C++
Deglobalize System: Am
David Marcec533e7e451ffc
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cppindex 6c594dcafd..3366fd8ce4 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");}