mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 16:11:38 +00: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:
parent
f66aab6381
commit
15567ef2bf
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user