Have a default path for saves
This commit is contained in:
@@ -111,7 +111,7 @@ void PIF::LoadEeprom(const SaveType saveType, const std::string &path) {
|
||||
std::vector<u8> dummy{};
|
||||
dummy.resize(GetSaveSize(saveType));
|
||||
Util::WriteFileBinary(dummy, eepromPath);
|
||||
eepromVec = Util::ReadFileBinary(eepromPath);
|
||||
eepromVec = dummy;
|
||||
}
|
||||
|
||||
if (eepromVec.size() != eepromSize) {
|
||||
|
||||
Reference in New Issue
Block a user