X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fmode4.c;h=22e30419b57b64712fe8fa97b86a08f20184127e;hb=14caeebcc7fc4a73731eec05c1c6150fa29d1374;hp=1b337a3b9c76a4eabbc51e4a0579ecf91105bc48;hpb=03065bb617aa86e7a4dfb943781fecb8db8836fb;p=picodrive.git diff --git a/pico/mode4.c b/pico/mode4.c index 1b337a3..22e3041 100644 --- a/pico/mode4.c +++ b/pico/mode4.c @@ -1,3 +1,10 @@ +/* + * mode4/SMS renderer + * (C) notaz, 2009-2010 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ /* * TODO: * - TMS9918 modes? @@ -207,9 +214,9 @@ void PicoFrameStartMode4(void) } if (rendstatus != rendstatus_old || lines != rendlines) { + emu_video_mode_change(screen_offset, lines, 1); rendstatus_old = rendstatus; rendlines = lines; - emu_video_mode_change(screen_offset, lines, 1); } DrawLineDest = (char *)DrawLineDestBase + screen_offset * DrawLineDestIncrement;