diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-01-18 20:27:51 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-01-18 21:42:33 +0100 |
| commit | 49b9c723e23d89140fcc45662b6b0079eed33010 (patch) | |
| tree | 9b7efb4b98632338600c975c7fe9bebd61249220 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 24199293d37f42b657cd5f9736d6eea10d1384f2 (diff) | |
Put IOS devices in a namespace and drop WII_IPC_HLE prefix
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 7c57776b74..50dec10be5 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -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 |
