summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Nicola Salmoria <nicola@mamedev.org>2008-07-12 16:34:46 +0000
committer Nicola Salmoria <nicola@mamedev.org>2008-07-12 16:34:46 +0000
commit4e3880457b26f00d478166f046be9cb2c1d38d06 (patch)
tree3f90c84e99f275b64f0db72a00b07d08ec89e401 /src
parent7fb78549156b527a34cd4025fa2d62077b1c0584 (diff)
01891: matchit, shisen, sichuan2, sichuana: Flip screen DIP switch doesn't work.
Diffstat (limited to 'src')
-rw-r--r--src/mame/video/shisen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mame/video/shisen.c b/src/mame/video/shisen.c
index ca7432af02f..b10db515522 100644
--- a/src/mame/video/shisen.c
+++ b/src/mame/video/shisen.c
@@ -60,6 +60,12 @@ VIDEO_START( sichuan2 )
VIDEO_UPDATE( sichuan2 )
{
+ // on Irem boards, screen flip is handled in both hardware and software.
+ // this game doesn't have cocktail mode so if there's software control we don't
+ // know where it is mapped.
+ flip_screen_set(~input_port_read(screen->machine, "DSW2") & 1);
+
+
tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0);
return 0;
}