mirror of https://github.com/PCSX2/pcsx2.git
Wx: Fix live vsync changes not applying
This commit is contained in:
parent
0ca3167595
commit
7e8c6fcc9d
|
@ -322,7 +322,6 @@ bool Pcsx2Config::GSOptions::operator==(const GSOptions& right) const
|
|||
|
||||
OpEqu(FrameSkipEnable) &&
|
||||
OpEqu(FrameLimitEnable) &&
|
||||
OpEqu(VsyncEnable) &&
|
||||
|
||||
OpEqu(FramesToDraw) &&
|
||||
OpEqu(FramesToSkip) &&
|
||||
|
@ -343,6 +342,8 @@ bool Pcsx2Config::GSOptions::OptionsAreEqual(const GSOptions& right) const
|
|||
return (
|
||||
OpEqu(bitset) &&
|
||||
|
||||
OpEqu(VsyncEnable) &&
|
||||
|
||||
OpEqu(InterlaceMode) &&
|
||||
|
||||
OpEqu(Zoom) &&
|
||||
|
|
|
@ -196,6 +196,7 @@ void SysCoreThread::ApplySettings(const Pcsx2Config& src)
|
|||
// so, we should block here until GS has finished reinitializing, if needed.
|
||||
Console.WriteLn("Applying GS settings...");
|
||||
GetMTGS().ApplySettings();
|
||||
GetMTGS().SetVSync(EmuConfig.GetEffectiveVsyncMode());
|
||||
GetMTGS().WaitGS();
|
||||
}
|
||||
}
|
||||
|
@ -239,6 +240,7 @@ void SysCoreThread::_reset_stuff_as_needed()
|
|||
|
||||
if (m_resetVsyncTimers)
|
||||
{
|
||||
GetMTGS().SetVSync(EmuConfig.GetEffectiveVsyncMode());
|
||||
UpdateVSyncRate();
|
||||
frameLimitReset();
|
||||
|
||||
|
|
Loading…
Reference in New Issue