One more on odd lines for PAL HSYNC
authorgameblabla <gameblabla@protonmail.com>
Wed, 10 Nov 2021 19:23:55 +0000 (20:23 +0100)
committergameblabla <gameblabla@protonmail.com>
Wed, 10 Nov 2021 19:23:55 +0000 (20:23 +0100)
As done by Duckstation
https://github.com/stenzek/duckstation/blob/bbcf1c67d1aefd5de9cdc9c158f92bc7aaecaa63/src/core/gpu.h#L56

libpcsxcore/psxcounters.c

index db0b1ec..e03bc94 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