Counters: Fix Hblank calculation for DVD videmodes

Previously, the DVD variant NTSC/PAL modes used the horizontal blanking
interval calculation algorithm used by digital video modes, which
shouldn't be used and also rounding error check was neglected.

Added the DVD variant modes to the list in analog video mode finder
subroutine. This should impact timing/vertical synchronization in PSX
games significantly.
This commit is contained in:
Akash 2017-12-29 10:07:21 +05:30
parent 5fdc9da885
commit 785fe6b2e3
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ static void rcntWhold(int index, u32 value);
static bool IsAnalogVideoMode()
{
return (gsVideoMode == GS_VideoMode::PAL || gsVideoMode == GS_VideoMode::NTSC);
return (gsVideoMode == GS_VideoMode::PAL || gsVideoMode == GS_VideoMode::NTSC || gsVideoMode == GS_VideoMode::DVD_NTSC || gsVideoMode == GS_VideoMode::DVD_PAL);
}
void rcntReset(int index) {