mirror of https://github.com/PCSX2/pcsx2.git
PCSX2: Fix Interlacing Ini
Oversight in having the correct config for the ini. Replaced CycleMipmap mode with the CycleInterlace one for correct OSD message.
This commit is contained in:
parent
ecdbe17fba
commit
8e6cd47f25
|
@ -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));
|
||||
Host::AddKeyedFormattedOSDMessage("CycleMipmapMode", 10.0f, "Interlace mode set to '%s'.", option_names[static_cast<s32>(new_mode)]);
|
||||
Host::AddKeyedFormattedOSDMessage("CycleInterlaceModeMode", 10.0f, "Deinterlace mode set to '%s'.", option_names[static_cast<s32>(new_mode)]);
|
||||
EmuConfig.GS.InterlaceMode = new_mode;
|
||||
|
||||
GetMTGS().RunOnGSThread([new_mode]() { GSConfig.InterlaceMode = new_mode; });
|
||||
|
|
|
@ -786,7 +786,7 @@ void GSRenderer::KeyEvent(const HostKeyEvent& e)
|
|||
{
|
||||
case VK_F5:
|
||||
GSConfig.InterlaceMode = static_cast<GSInterlaceMode>((static_cast<int>(GSConfig.InterlaceMode) + static_cast<int>(GSInterlaceMode::Count) + step) % static_cast<int>(GSInterlaceMode::Count));
|
||||
theApp.SetConfig("interlace", static_cast<int>(GSConfig.InterlaceMode));
|
||||
theApp.SetConfig("deinterlace", static_cast<int>(GSConfig.InterlaceMode));
|
||||
printf("GS: Set deinterlace mode to %d (%s).\n", static_cast<int>(GSConfig.InterlaceMode), theApp.m_gs_deinterlace.at(static_cast<int>(GSConfig.InterlaceMode)).name.c_str());
|
||||
return;
|
||||
case VK_DELETE:
|
||||
|
|
Loading…
Reference in New Issue