diff --git a/src/core/emulator_settings.cpp b/src/core/emulator_settings.cpp index 93d33d27d..a51b047a9 100644 --- a/src/core/emulator_settings.cpp +++ b/src/core/emulator_settings.cpp @@ -278,7 +278,7 @@ bool EmulatorSettingsImpl::Save(const std::string& serial) { LOG_ERROR(EmuSettings, "Failed to open game config for writing: {}", path.string()); return false; } - out << std::setw(4) << j; + out << std::setw(2) << j; return !out.fail(); } else { @@ -319,7 +319,7 @@ bool EmulatorSettingsImpl::Save(const std::string& serial) { LOG_ERROR(EmuSettings, "Failed to open config for writing: {}", path.string()); return false; } - out << std::setw(4) << existing; + out << std::setw(2) << existing; return !out.fail(); } } catch (const std::exception& e) { diff --git a/src/core/user_settings.cpp b/src/core/user_settings.cpp index 9f04cc2ce..a2142dd9a 100644 --- a/src/core/user_settings.cpp +++ b/src/core/user_settings.cpp @@ -47,7 +47,7 @@ bool UserSettingsImpl::Save() const { LOG_ERROR(EmuSettings, "Failed to open user settings for writing: {}", path.string()); return false; } - out << std::setw(4) << j; + out << std::setw(2) << j; return !out.fail(); } catch (const std::exception& e) { LOG_ERROR(EmuSettings, "Error saving user settings: {}", e.what());