summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-10-02 05:05:20 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-10-02 05:05:20 +0000
commit742dcf52f359ab17c9ec0444d855d9bd4d941af8 (patch)
tree13a36a3697452ec95e063bad3c1a9e6e76a29a88
parentadaaf55595375b2f67080e783f6cafdc62e9602e (diff)
From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Friday, September 26, 2008 11:01 PM To: submit@mamedev.org Subject: fix for sbasketb As pointed out by ShimaPong on mameworld forums, dips are read in the wrong way in sbasketb.c. It seems that when DipLocations were added, the tags were changed in the input ports but not in the memory map. The enclosed patch fixes this regression Regards, Fabio
-rw-r--r--src/mame/drivers/sbasketb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/sbasketb.c b/src/mame/drivers/sbasketb.c
index f4b9b1438af..964307f122e 100644
--- a/src/mame/drivers/sbasketb.c
+++ b/src/mame/drivers/sbasketb.c
@@ -82,8 +82,8 @@ static ADDRESS_MAP_START( readmem, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x3e01, 0x3e01) AM_READ_PORT("P1")
AM_RANGE(0x3e02, 0x3e02) AM_READ_PORT("P2")
AM_RANGE(0x3e03, 0x3e03) AM_READ(SMH_NOP)
- AM_RANGE(0x3e80, 0x3e80) AM_READ_PORT("DSW1")
- AM_RANGE(0x3f00, 0x3f00) AM_READ_PORT("DSW2")
+ AM_RANGE(0x3e80, 0x3e80) AM_READ_PORT("DSW2")
+ AM_RANGE(0x3f00, 0x3f00) AM_READ_PORT("DSW1")
AM_RANGE(0x6000, 0xffff) AM_READ(SMH_ROM)
ADDRESS_MAP_END