Core/IOS/IOS: Remove global system accessor from destructor

An EmulationKernel already houses a reference to the current system
This commit is contained in:
Lioncache 2023-12-18 11:55:28 -05:00
parent 0d75d658b1
commit 0c9f9ca8b6
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ EmulationKernel::EmulationKernel(Core::System& system, u64 title_id)
EmulationKernel::~EmulationKernel()
{
Core::System::GetInstance().GetCoreTiming().RemoveAllEvents(s_event_enqueue);
m_system.GetCoreTiming().RemoveAllEvents(s_event_enqueue);
m_device_map.clear();
m_socket_manager.reset();