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
1 changed files with 1 additions and 1 deletions

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) if (display_osd_messages && settings.display_deinterlacing_mode != new_mode)
{ {
APPEND_MESSAGE_FMT(TRANSLATE_FS("GameDatabase", "Deinterlacing set to {}."), 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; settings.display_deinterlacing_mode = new_mode;