GameDatabase: Fix crash with deinterlacing mode

This commit is contained in:
Stenzek 2024-10-20 23:21:39 +10:00
parent 4ab22921c4
commit 825dd13c6b
No known key found for this signature in database

View File

@ -469,7 +469,7 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes
if (display_osd_messages && settings.display_deinterlacing_mode != new_mode)
{
APPEND_MESSAGE_FMT(TRANSLATE_FS("GameDatabase", "Deinterlacing set to {}."),
Settings::GetDisplayDeinterlacingModeDisplayName(display_deinterlacing_mode.value()));
Settings::GetDisplayDeinterlacingModeDisplayName(new_mode));
}
settings.display_deinterlacing_mode = new_mode;