Don't show savestate USB warning when not using USB passthrough
This commit is contained in:
parent
bb82586a3d
commit
8a6b8f7b53
|
@ -81,7 +81,7 @@ IPCCommandResult OH0::IOCtlV(const IOCtlVRequest& request)
|
|||
|
||||
void OH0::DoState(PointerWrap& p)
|
||||
{
|
||||
if (p.GetMode() == PointerWrap::MODE_READ)
|
||||
if (p.GetMode() == PointerWrap::MODE_READ && !m_devices.empty())
|
||||
{
|
||||
Core::DisplayMessage("It is suggested that you unplug and replug all connected USB devices.",
|
||||
5000);
|
||||
|
|
Loading…
Reference in New Issue