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))
|
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)
|
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 {}."),
|
||||||
|
|
Loading…
Reference in New Issue