mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
GameDB: Allow user to choose different mode for ForceDeinterlacing
This commit is contained in:
parent
82e9bcc55f
commit
8def5b5d0a
@ -465,7 +465,11 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes
|
||||
|
||||
if (HasTrait(Trait::ForceDeinterlacing))
|
||||
{
|
||||
const DisplayDeinterlacingMode new_mode = display_deinterlacing_mode.value_or(DEFAULT_DEINTERLACING_MODE);
|
||||
const DisplayDeinterlacingMode new_mode = display_deinterlacing_mode.value_or(
|
||||
(settings.display_deinterlacing_mode != DisplayDeinterlacingMode::Disabled &&
|
||||
settings.display_deinterlacing_mode != DisplayDeinterlacingMode::Progressive) ?
|
||||
settings.display_deinterlacing_mode :
|
||||
DEFAULT_DEINTERLACING_MODE);
|
||||
if (display_osd_messages && settings.display_deinterlacing_mode != new_mode)
|
||||
{
|
||||
APPEND_MESSAGE_FMT(TRANSLATE_FS("GameDatabase", "Deinterlacing set to {}."),
|
||||
|
Loading…
Reference in New Issue
Block a user