notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32x: a hack for dealing with pwm inaccuracy
[picodrive.git]
/
pico
/
sms.c
diff --git
a/pico/sms.c
b/pico/sms.c
index
cc75bff
..
58905bd
100644
(file)
--- a/
pico/sms.c
+++ b/
pico/sms.c
@@
-1,3
+1,10
@@
+/*
+ * SMS emulation
+ * (C) notaz, 2009-2010
+ *
+ * This work is licensed under the terms of MAME license.
+ * See COPYING file in the top-level directory.
+ */
/*
* TODO:
* - start in a state as if BIOS ran
/*
* TODO:
* - start in a state as if BIOS ran
@@
-257,6
+264,8
@@
void PicoFrameMS(void)
for (y = 0; y < lines; y++)
{
pv->v_counter = Pico.m.scanline = y;
for (y = 0; y < lines; y++)
{
pv->v_counter = Pico.m.scanline = y;
+ if (y > 218)
+ pv->v_counter = y - 6;
if (y < lines_vis && !skip)
PicoLineMode4(y);
if (y < lines_vis && !skip)
PicoLineMode4(y);