IOS: Add UpdateWantDeterminism to devices

This will be useful for the USB devices to disconnect and hide any real
devices when Core::g_want_determinism is true.
This commit is contained in:
Léo Lam
2017-01-21 19:08:17 +01:00
parent b7cc25535f
commit e246afb049
4 changed files with 13 additions and 2 deletions

View File

@ -159,6 +159,7 @@ public:
virtual IPCCommandResult IOCtl(const IOCtlRequest& ioctl) { return Unsupported(ioctl); }
virtual IPCCommandResult IOCtlV(const IOCtlVRequest& ioctlv) { return Unsupported(ioctlv); }
virtual void Update() {}
virtual void UpdateWantDeterminism(bool new_want_determinism) {}
virtual DeviceType GetDeviceType() const { return m_device_type; }
virtual bool IsOpened() const { return m_is_active; }
static IPCCommandResult GetDefaultReply(s32 return_value);