One more on odd lines for PAL HSYNC (#224)
authorgameblabla <gameblabla@users.noreply.github.com>
Sat, 2 Oct 2021 14:53:16 +0000 (14:53 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Oct 2021 14:53:16 +0000 (17:53 +0300)
As done by Duckstation
https://github.com/stenzek/duckstation/blob/bbcf1c67d1aefd5de9cdc9c158f92bc7aaecaa63/src/core/gpu.h#L56

libpcsxcore/psxcounters.c

index 283173b..bd0f09b 100644 (file)
@@ -60,7 +60,7 @@ static const u32 CountToOverflow  = 0;
 static const u32 CountToTarget    = 1;
 
 static const u32 FrameRate[]      = { 60, 50 };
-static const u32 HSyncTotal[]     = { 263, 313 };
+static const u32 HSyncTotal[]     = { 263, 314 }; // actually one more on odd lines for PAL
 #define VBlankStart 240
 
 #define VERBOSE_LEVEL 0