Put IOS devices in a namespace and drop WII_IPC_HLE prefix

This commit is contained in:
Léo Lam
2017-01-18 20:27:51 +01:00
parent 24199293d3
commit 49b9c723e2
51 changed files with 598 additions and 570 deletions

View File

@ -1279,8 +1279,8 @@ void CFrame::ParseHotkeys()
{
auto device = IOS::HLE::GetDeviceByName("/dev/usb/oh1/57e/305");
if (device != nullptr)
std::static_pointer_cast<IOS::HLE::CWII_IPC_HLE_Device_usb_oh1_57e_305_base>(device)
->UpdateSyncButtonState(IsHotkey(HK_TRIGGER_SYNC_BUTTON, true));
std::static_pointer_cast<IOS::HLE::Device::BluetoothBase>(device)->UpdateSyncButtonState(
IsHotkey(HK_TRIGGER_SYNC_BUTTON, true));
}
if (UseDebugger)