Fix: Configuration migration for Turbo Mode

This commit is contained in:
KeatonTheBot 2025-09-19 16:18:04 -05:00
parent d751cfa81a
commit 1abf5b82c5
2 changed files with 9 additions and 4 deletions

View file

@ -1708,8 +1708,13 @@ namespace Ryujinx.UI.Common.Configuration
configurationFileFormat.MatchSystemTime = false;
// Turbo Mode should be version 59 - KeatonTheBot
// TODO: Fix config migration for Turbo Mode
configurationFileUpdated = true;
}
if (configurationFileFormat.Version < 59)
{
Ryujinx.Common.Logging.Logger.Warning?.Print(LogClass.Application, $"Outdated configuration version {configurationFileFormat.Version}, migrating to version 59.");
configurationFileFormat.TickScalar = 200;
configurationFileFormat.Hotkeys = new KeyboardHotkeys
{
@ -1730,7 +1735,7 @@ namespace Ryujinx.UI.Common.Configuration
configurationFileUpdated = true;
}
Logger.EnableFileLog.Value = configurationFileFormat.EnableFileLog;
Graphics.ResScale.Value = configurationFileFormat.ResScale;
Graphics.ResScaleCustom.Value = configurationFileFormat.ResScaleCustom;