mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue