From 15567ef2bfb8ca1a360082f05881234b4de51b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 11 Jan 2017 13:45:39 +0100 Subject: [PATCH] IOS HLE: Remove useless overrides in bt_stub Since the Open command won't ever return with the stub, there's no way we will get a Close/IOCtl/IOCtlV for it, so we don't have to implement it at all. --- Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_base.h | 2 -- Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_stub.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_base.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_base.h index 3c8d410cd2..a880498fa1 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_base.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_base.h @@ -27,8 +27,6 @@ public: virtual ~CWII_IPC_HLE_Device_usb_oh1_57e_305_base() override = default; virtual IPCCommandResult Open(u32 command_address, u32 mode) override = 0; - virtual IPCCommandResult Close(u32 command_address, bool force) override = 0; - virtual IPCCommandResult IOCtlV(u32 command_address) override = 0; virtual void DoState(PointerWrap& p) override = 0; diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_stub.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_stub.h index ccdbf7ba1a..074c9cae5c 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_stub.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_bt_stub.h @@ -22,8 +22,5 @@ public: } ~CWII_IPC_HLE_Device_usb_oh1_57e_305_stub() override {} IPCCommandResult Open(u32 command_address, u32 mode) override; - IPCCommandResult Close(u32 command_address, bool force) override { return GetNoReply(); } - IPCCommandResult IOCtl(u32 command_address) override { return GetDefaultReply(); } - IPCCommandResult IOCtlV(u32 command_address) override { return GetNoReply(); } void DoState(PointerWrap& p) override; };