mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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.
This commit is contained in:
@ -27,8 +27,6 @@ public:
|
|||||||
virtual ~CWII_IPC_HLE_Device_usb_oh1_57e_305_base() override = default;
|
virtual ~CWII_IPC_HLE_Device_usb_oh1_57e_305_base() override = default;
|
||||||
|
|
||||||
virtual IPCCommandResult Open(u32 command_address, u32 mode) override = 0;
|
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;
|
virtual void DoState(PointerWrap& p) override = 0;
|
||||||
|
|
||||||
|
@ -22,8 +22,5 @@ public:
|
|||||||
}
|
}
|
||||||
~CWII_IPC_HLE_Device_usb_oh1_57e_305_stub() override {}
|
~CWII_IPC_HLE_Device_usb_oh1_57e_305_stub() override {}
|
||||||
IPCCommandResult Open(u32 command_address, u32 mode) 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;
|
void DoState(PointerWrap& p) override;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user