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
This commit is contained in:
Aaron Giles 2008-10-02 05:05:20 +00:00
parent adaaf55595
commit 742dcf52f3

View File

@ -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