mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 07:05:40 +00:00
System: Reduce force-displayed-warning scope
Please don't make me regret this.
This commit is contained in:
parent
9de8bf9da5
commit
338fb278e8
|
@ -4546,7 +4546,7 @@ void System::WarnAboutUnsafeSettings()
|
|||
LargeString messages;
|
||||
auto append = [&messages](const char* icon, std::string_view msg) { messages.append_format("{} {}\n", icon, msg); };
|
||||
|
||||
if (!g_settings.disable_all_enhancements)
|
||||
if (!g_settings.disable_all_enhancements && ImGuiManager::IsShowingOSDMessages())
|
||||
{
|
||||
if (g_settings.cpu_overclock_active)
|
||||
{
|
||||
|
@ -4595,7 +4595,8 @@ void System::WarnAboutUnsafeSettings()
|
|||
TRANSLATE_SV("System", "8MB RAM is enabled, this may be incompatible with some games."));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
if (g_settings.disable_all_enhancements)
|
||||
{
|
||||
append(ICON_EMOJI_WARNING, TRANSLATE_SV("System", "All enhancements are currently disabled."));
|
||||
|
||||
|
|
Loading…
Reference in a new issue