Don't show savestate USB warning when not using USB passthrough

This commit is contained in:
JosJuice 2017-02-12 18:16:26 +01:00
parent bb82586a3d
commit 8a6b8f7b53
1 changed files with 1 additions and 1 deletions

View File

@ -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);