notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix yet another sync issue..
[picodrive.git]
/
pico
/
mode4.c
diff --git
a/pico/mode4.c
b/pico/mode4.c
index
4588a9a
..
22e3041
100644
(file)
--- 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?
/*
* TODO:
* - TMS9918 modes?
@@
-207,9
+214,9
@@
void PicoFrameStartMode4(void)
}
if (rendstatus != rendstatus_old || lines != rendlines) {
}
if (rendstatus != rendstatus_old || lines != rendlines) {
+ emu_video_mode_change(screen_offset, lines, 1);
rendstatus_old = rendstatus;
rendlines = lines;
rendstatus_old = rendstatus;
rendlines = lines;
- emu_video_mode_change(screen_offset, lines, 1);
}
DrawLineDest = (char *)DrawLineDestBase + screen_offset * DrawLineDestIncrement;
}
DrawLineDest = (char *)DrawLineDestBase + screen_offset * DrawLineDestIncrement;
@@
-260,6
+267,7
@@
void PicoDoHighPal555M4(void)
t |= (t >> 4) & 0x08610861;
*dpal = t;
}
t |= (t >> 4) & 0x08610861;
*dpal = t;
}
+ HighPal[0xe0] = 0;
}
static void FinalizeLineRGB555M4(int line)
}
static void FinalizeLineRGB555M4(int line)