mirror of https://github.com/PCSX2/pcsx2.git
USB: Make save state non-required
Fixes save state loading for systems using a null USB plugin (macOS, BSD)
This commit is contained in:
parent
e415d85dbe
commit
0f93dbcd5e
|
@ -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
|
||||
|
@ -923,4 +923,4 @@ void SaveState_UnzipFromDisk(const wxString& filename)
|
|||
reader->Read(buffer.GetPtr(), foundInternal->GetSize());
|
||||
|
||||
memLoadingState(buffer).FreezeBios().FreezeInternals();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue