GS/Counters: Catch SMODE changes and update VSync rate

This commit is contained in:
refractionpcsx2 2023-04-02 15:17:09 +01:00
parent 10e192deed
commit cf59c0b854
1 changed files with 6 additions and 0 deletions

View File

@ -224,6 +224,12 @@ void gsWrite64_page_00( u32 mem, u64 value )
{
s_GSRegistersWritten |= (mem == GS_DISPFB1 || mem == GS_DISPFB2 || mem == GS_PMODE);
if (mem == GS_SMODE1 || mem == GS_SMODE2)
{
if (value != *(u64*)PS2GS_BASE(mem))
UpdateVSyncRate();
}
gsWrite64_generic( mem, value );
}