mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
System: Add warning if CD-ROM read speedup is enabled on startup
This commit is contained in:
parent
3dc53dd93c
commit
1911a25a9f
|
@ -963,6 +963,14 @@ bool Initialize(bool force_software_renderer)
|
||||||
"CPU clock speed is set to %u%% (%u / %u). This may result in instability."),
|
"CPU clock speed is set to %u%% (%u / %u). This may result in instability."),
|
||||||
g_settings.GetCPUOverclockPercent(), g_settings.cpu_overclock_numerator, g_settings.cpu_overclock_denominator);
|
g_settings.GetCPUOverclockPercent(), g_settings.cpu_overclock_numerator, g_settings.cpu_overclock_denominator);
|
||||||
}
|
}
|
||||||
|
if (g_settings.cdrom_read_speedup > 1)
|
||||||
|
{
|
||||||
|
g_host_interface->AddFormattedOSDMessage(
|
||||||
|
10.0f,
|
||||||
|
g_host_interface->TranslateString(
|
||||||
|
"OSDMessage", "CD-ROM read speedup set to %ux (effective speed %ux). This may result in instability."),
|
||||||
|
g_settings.cdrom_read_speedup, g_settings.cdrom_read_speedup * 2);
|
||||||
|
}
|
||||||
|
|
||||||
UpdateThrottlePeriod();
|
UpdateThrottlePeriod();
|
||||||
UpdateMemorySaveStateSettings();
|
UpdateMemorySaveStateSettings();
|
||||||
|
|
Loading…
Reference in a new issue