OSD: Minor clean up

Fixes variable for interlacemode
This commit is contained in:
RedDevilus 2022-04-15 22:34:19 +02:00 committed by refractionpcsx2
parent 0eae59ee66
commit 4fc6e9240c
1 changed files with 1 additions and 1 deletions

View File

@ -1676,7 +1676,7 @@ BEGIN_HOTKEY_LIST(g_gs_hotkeys){
}}; }};
const GSInterlaceMode new_mode = static_cast<GSInterlaceMode>((static_cast<s32>(EmuConfig.GS.InterlaceMode) + 1) % static_cast<s32>(GSInterlaceMode::Count)); const GSInterlaceMode new_mode = static_cast<GSInterlaceMode>((static_cast<s32>(EmuConfig.GS.InterlaceMode) + 1) % static_cast<s32>(GSInterlaceMode::Count));
Host::AddKeyedFormattedOSDMessage("CycleInterlaceModeMode", 10.0f, "Deinterlace mode set to '%s'.", option_names[static_cast<s32>(new_mode)]); Host::AddKeyedFormattedOSDMessage("CycleInterlaceMode", 10.0f, "Deinterlace mode set to '%s'.", option_names[static_cast<s32>(new_mode)]);
EmuConfig.GS.InterlaceMode = new_mode; EmuConfig.GS.InterlaceMode = new_mode;
GetMTGS().RunOnGSThread([new_mode]() { GSConfig.InterlaceMode = new_mode; }); GetMTGS().RunOnGSThread([new_mode]() { GSConfig.InterlaceMode = new_mode; });