mirror of
https://github.com/holub/mame
synced 2025-05-21 13:18:56 +03:00
03649: gekisha: Unknown DIP 4-2 toggles Auto Tsumo after Reach. If it is enabled and declare Reach, MAME crashes.
This commit is contained in:
parent
d51770b70f
commit
968ef7b835
@ -1132,6 +1132,7 @@ INLINE UINT8 Read##N##_8(t90_Regs *cpustate) { \
|
|||||||
INLINE UINT16 Read##N##_16(t90_Regs *cpustate) { \
|
INLINE UINT16 Read##N##_16(t90_Regs *cpustate) { \
|
||||||
switch ( cpustate->mode##N ) { \
|
switch ( cpustate->mode##N ) { \
|
||||||
case MODE_I16: return cpustate->r##N; \
|
case MODE_I16: return cpustate->r##N; \
|
||||||
|
case MODE_D16: return cpustate->r##N - 1; \
|
||||||
case MODE_R16: return r16(cpustate, cpustate->r##N); \
|
case MODE_R16: return r16(cpustate, cpustate->r##N); \
|
||||||
case MODE_R16D8: return r16(cpustate, cpustate->r##N) + (INT8)cpustate->r##N##b; \
|
case MODE_R16D8: return r16(cpustate, cpustate->r##N) + (INT8)cpustate->r##N##b; \
|
||||||
case MODE_R16R8: return r16(cpustate, cpustate->r##N) + (INT8)r8(cpustate, cpustate->r##N##b); \
|
case MODE_R16R8: return r16(cpustate, cpustate->r##N) + (INT8)r8(cpustate, cpustate->r##N##b); \
|
||||||
|
@ -4108,7 +4108,7 @@ static INPUT_PORTS_START( gekisha )
|
|||||||
PORT_DIPNAME( 0x02, 0x02, "Unknown 4-1" )
|
PORT_DIPNAME( 0x02, 0x02, "Unknown 4-1" )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x04, 0x04, "Unknown 4-2" )
|
PORT_DIPNAME( 0x04, 0x04, "Auto Tsumo after Reach" )
|
||||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x08, 0x08, "Unknown 4-3" )
|
PORT_DIPNAME( 0x08, 0x08, "Unknown 4-3" )
|
||||||
|
Loading…
Reference in New Issue
Block a user