X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico_cmn.c;h=d2801ed0c3320977b51d3a3c1576c738a71f96bf;hb=5e128c6d279ac90f7b6078740ab1d0ba516969b9;hp=212ed8db1d1a0c2dc53aaa57b79c3a2851583245;hpb=94d2199eb18a8d21e24fb2aab66c10ef6869704b;p=picodrive.git diff --git a/pico/pico_cmn.c b/pico/pico_cmn.c index 212ed8d..d2801ed 100644 --- a/pico/pico_cmn.c +++ b/pico/pico_cmn.c @@ -221,9 +221,8 @@ static int PicoFrameHints(void) if (PicoLineHook) PicoLineHook(); #endif - // PAL line count might actually be 313 according to Steve Snake, but that would complicate things. - lines = Pico.m.pal ? 312 : 262; - vcnt_wrap = Pico.m.pal ? 0x103 : 0xEB; // based on Gens + lines = scanlines_total; + vcnt_wrap = Pico.m.pal ? 0x103 : 0xEB; // based on Gens, TODO: verify for (y++; y < lines; y++) {