mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 23:54:21 +00:00
Merge pull request #4904 from JosJuice/oh0-usb-state-warning
Don't show savestate USB warning when not using USB passthrough
This commit is contained in:
commit
d1ade5de22
@ -81,7 +81,7 @@ IPCCommandResult OH0::IOCtlV(const IOCtlVRequest& request)
|
|||||||
|
|
||||||
void OH0::DoState(PointerWrap& p)
|
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.",
|
Core::DisplayMessage("It is suggested that you unplug and replug all connected USB devices.",
|
||||||
5000);
|
5000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user