mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Put IOS devices in a namespace and drop WII_IPC_HLE prefix
This commit is contained in:
parent
24199293d3
commit
49b9c723e2
51 changed files with 598 additions and 570 deletions
|
@ -861,12 +861,8 @@ void CFrame::DoStop()
|
|||
bool CFrame::TriggerSTMPowerEvent()
|
||||
{
|
||||
const auto stm = IOS::HLE::GetDeviceByName("/dev/stm/eventhook");
|
||||
if (!stm ||
|
||||
!std::static_pointer_cast<IOS::HLE::CWII_IPC_HLE_Device_stm_eventhook>(stm)
|
||||
->HasHookInstalled())
|
||||
{
|
||||
if (!stm || !std::static_pointer_cast<IOS::HLE::Device::STMEventHook>(stm)->HasHookInstalled())
|
||||
return false;
|
||||
}
|
||||
|
||||
Core::DisplayMessage("Shutting down", 30000);
|
||||
// Unpause because gracefully shutting down needs the game to actually request a shutdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue