HW/ProcessorInterface: Refactor to class, move to Core::System.

This commit is contained in:
Admiral H. Curtiss
2023-01-04 02:52:40 +01:00
parent 908cec04cb
commit 74e1577a2c
26 changed files with 200 additions and 144 deletions

View File

@ -37,6 +37,7 @@
#include "Core/HotkeyManager.h"
#include "Core/IOS/IOS.h"
#include "Core/IOS/STM/STM.h"
#include "Core/System.h"
#include "Core/WiiRoot.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
@ -433,7 +434,8 @@ bool TriggerSTMPowerEvent()
return false;
Core::DisplayMessage("Shutting down", 30000);
ProcessorInterface::PowerButton_Tap();
auto& system = Core::System::GetInstance();
system.GetProcessorInterface().PowerButton_Tap();
return true;
}