mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
kaneko/sandscrp.cpp: Suppress side effects for debugger reads of sound latches. (#12240)
Also give sprite ROM region a more meaningful name.
This commit is contained in:
parent
4bc523f8ff
commit
31dee56a86
1 changed files with 6 additions and 5 deletions
|
@ -258,7 +258,8 @@ void sandscrp_state::latchstatus_68k_w(u8 data)
|
|||
template<unsigned Latch>
|
||||
u8 sandscrp_state::soundlatch_r()
|
||||
{
|
||||
m_latch_full[Latch] = false;
|
||||
if (!machine().side_effects_disabled())
|
||||
m_latch_full[Latch] = false;
|
||||
return m_soundlatch[Latch]->read();
|
||||
}
|
||||
|
||||
|
@ -421,7 +422,7 @@ INPUT_PORTS_END
|
|||
|
||||
|
||||
static GFXDECODE_START( gfx_sandscrp_spr )
|
||||
GFXDECODE_ENTRY( "gfx1", 0, gfx_8x8x4_row_2x2_group_packed_msb, 0x000, 0x10 ) // [0] Sprites
|
||||
GFXDECODE_ENTRY( "sprites", 0, gfx_8x8x4_row_2x2_group_packed_msb, 0x000, 0x10 ) // [0] Sprites
|
||||
GFXDECODE_END
|
||||
|
||||
|
||||
|
@ -497,7 +498,7 @@ ROM_START( sandscrp ) /* Z03VA-003 PCB */
|
|||
ROM_REGION( 0x20000, "audiocpu", 0 ) /* Z80 Code */
|
||||
ROM_LOAD( "8.ic51", 0x00000, 0x20000, CRC(6f3e9db1) SHA1(06a04fa17f44319986913bff70433510c89e38f1) )
|
||||
|
||||
ROM_REGION( 0x100000, "gfx1", 0 ) /* Sprites */
|
||||
ROM_REGION( 0x100000, "sprites", 0 )
|
||||
ROM_LOAD( "5.ic16", 0x000000, 0x080000, CRC(9bb675f6) SHA1(c3f6768cfd99a0e19ca2224fff9aa4e27ec0da24) )
|
||||
ROM_LOAD( "6.ic17", 0x080000, 0x080000, CRC(7df2f219) SHA1(e2a59e201bfededa92d6c86f8dc1b212527ef66f) )
|
||||
|
||||
|
@ -517,7 +518,7 @@ ROM_START( sandscrpa ) /* Z03VA-003 PCB, earlier program version */
|
|||
ROM_REGION( 0x20000, "audiocpu", 0 ) /* Z80 Code */
|
||||
ROM_LOAD( "8.ic51", 0x00000, 0x20000, CRC(6f3e9db1) SHA1(06a04fa17f44319986913bff70433510c89e38f1) )
|
||||
|
||||
ROM_REGION( 0x100000, "gfx1", 0 ) /* Sprites */
|
||||
ROM_REGION( 0x100000, "sprites", 0 )
|
||||
ROM_LOAD( "5.ic16", 0x000000, 0x080000, CRC(9bb675f6) SHA1(c3f6768cfd99a0e19ca2224fff9aa4e27ec0da24) )
|
||||
ROM_LOAD( "6.ic17", 0x080000, 0x080000, CRC(7df2f219) SHA1(e2a59e201bfededa92d6c86f8dc1b212527ef66f) )
|
||||
|
||||
|
@ -539,7 +540,7 @@ ROM_START( sandscrpb ) /* Different rev PCB */
|
|||
ROM_REGION( 0x20000, "audiocpu", 0 ) /* Z80 Code */
|
||||
ROM_LOAD( "8.ic51", 0x00000, 0x20000, CRC(6f3e9db1) SHA1(06a04fa17f44319986913bff70433510c89e38f1) )
|
||||
|
||||
ROM_REGION( 0x100000, "gfx1", 0 ) /* Sprites */
|
||||
ROM_REGION( 0x100000, "sprites", 0 )
|
||||
ROM_LOAD( "ss502.ic16", 0x000000, 0x100000, CRC(d8012ebb) SHA1(975bbb3b57a09e41d2257d4fa3a64097144de554) )
|
||||
|
||||
ROM_REGION( 0x100000, "view2", 0 ) /* Layers */
|
||||
|
|
Loading…
Reference in a new issue