X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fsms.c;h=e483291ab749113ee532274cfa268c55ff9d175d;hb=19954be1966a04304b16d9180b003ec8ca3bc532;hp=6cc6f3caa967cd8faac8a58d48980a53fa97e2d2;hpb=460603fa8119a41192ebdc7012d120f6263a2bce;p=picodrive.git diff --git a/pico/sms.c b/pico/sms.c index 6cc6f3c..e483291 100644 --- a/pico/sms.c +++ b/pico/sms.c @@ -235,6 +235,7 @@ void PicoFrameMS(void) int lines = is_pal ? 313 : 262; int cycles_line = is_pal ? 58020 : 58293; /* (226.6 : 227.7) * 256 */ int cycles_done = 0, cycles_aim = 0; + int skip = PicoSkipFrame; int lines_vis = 192; int hint; // Hint counter int y; @@ -246,7 +247,7 @@ void PicoFrameMS(void) { pv->v_counter = Pico.m.scanline = y; - if (y < lines_vis) + if (y < lines_vis && !skip) PicoLineMode4(y); if (y <= lines_vis)