USB: Make save state non-required

Fixes save state loading for systems using a null USB plugin (macOS, BSD)
This commit is contained in:
tellowkrinkle 2021-11-04 21:21:57 -05:00
parent e415d85dbe
commit 0f93dbcd5e
1 changed files with 2 additions and 2 deletions

View File

@ -611,7 +611,7 @@ public:
wxString GetFilename() const { return L"USB.bin"; }
void FreezeIn(pxInputStream& reader) const { return SysState_ComponentFreezeIn(reader, USB); }
void FreezeOut(SaveStateBase& writer) const { return SysState_ComponentFreezeOut(writer, USB); }
bool IsRequired() const { return true; }
bool IsRequired() const { return false; }
};
class SavestateEntry_PAD : public BaseSavestateEntry