From 722162b54afe37110e22df70cdb11f816c6eb3f2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 17 Jan 2017 15:01:30 -0500 Subject: IPC_HLE: Namespace IOS HLE Gets all of the IOS HLE code out of the global scope. --- Source/Core/DolphinWX/ControllerConfigDiag.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DolphinWX/ControllerConfigDiag.cpp') diff --git a/Source/Core/DolphinWX/ControllerConfigDiag.cpp b/Source/Core/DolphinWX/ControllerConfigDiag.cpp index 30c6be8f77..2c0a8646bd 100644 --- a/Source/Core/DolphinWX/ControllerConfigDiag.cpp +++ b/Source/Core/DolphinWX/ControllerConfigDiag.cpp @@ -527,9 +527,9 @@ void ControllerConfigDiag::OnPassthroughScanButton(wxCommandEvent& event) _("Sync Wii Remotes"), wxICON_WARNING); return; } - auto device = WII_IPC_HLE_Interface::GetDeviceByName("/dev/usb/oh1/57e/305"); + auto device = IOS::HLE::GetDeviceByName("/dev/usb/oh1/57e/305"); if (device != nullptr) - std::static_pointer_cast(device) + std::static_pointer_cast(device) ->TriggerSyncButtonPressedEvent(); } @@ -541,9 +541,9 @@ void ControllerConfigDiag::OnPassthroughResetButton(wxCommandEvent& event) _("Reset Wii Remote pairings"), wxICON_WARNING); return; } - auto device = WII_IPC_HLE_Interface::GetDeviceByName("/dev/usb/oh1/57e/305"); + auto device = IOS::HLE::GetDeviceByName("/dev/usb/oh1/57e/305"); if (device != nullptr) - std::static_pointer_cast(device) + std::static_pointer_cast(device) ->TriggerSyncButtonHeldEvent(); } -- cgit v1.2.3