mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-10 13:27:22 +00:00
System: Reduce force-displayed-warning scope
Please don't make me regret this.
This commit is contained in:
parent
ddcb0cb541
commit
f2720b98dd
@ -4545,7 +4545,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)
|
||||
{
|
||||
@ -4594,7 +4594,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…
x
Reference in New Issue
Block a user