mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-06 08:15:00 -06:00
what is shadow going to do about this
This commit is contained in:
parent
badaa30cbc
commit
0cc0dc9c31
@ -278,7 +278,7 @@ bool EmulatorSettingsImpl::Save(const std::string& serial) {
|
|||||||
LOG_ERROR(EmuSettings, "Failed to open game config for writing: {}", path.string());
|
LOG_ERROR(EmuSettings, "Failed to open game config for writing: {}", path.string());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
out << std::setw(4) << j;
|
out << std::setw(2) << j;
|
||||||
return !out.fail();
|
return !out.fail();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -319,7 +319,7 @@ bool EmulatorSettingsImpl::Save(const std::string& serial) {
|
|||||||
LOG_ERROR(EmuSettings, "Failed to open config for writing: {}", path.string());
|
LOG_ERROR(EmuSettings, "Failed to open config for writing: {}", path.string());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
out << std::setw(4) << existing;
|
out << std::setw(2) << existing;
|
||||||
return !out.fail();
|
return !out.fail();
|
||||||
}
|
}
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
|
|||||||
@ -47,7 +47,7 @@ bool UserSettingsImpl::Save() const {
|
|||||||
LOG_ERROR(EmuSettings, "Failed to open user settings for writing: {}", path.string());
|
LOG_ERROR(EmuSettings, "Failed to open user settings for writing: {}", path.string());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
out << std::setw(4) << j;
|
out << std::setw(2) << j;
|
||||||
return !out.fail();
|
return !out.fail();
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
LOG_ERROR(EmuSettings, "Error saving user settings: {}", e.what());
|
LOG_ERROR(EmuSettings, "Error saving user settings: {}", e.what());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user