From 6885fb45278bbf3f0cb6cac1d6059f9b71c2cf40 Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 8 Oct 2017 04:01:43 +0200 Subject: stv.cpp: patch Sport Fishing 2 BIOS to actually return a country code, game now errors out to MPEG not found error [Angelo Salese] --- src/mame/drivers/stv.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mame/drivers/stv.cpp b/src/mame/drivers/stv.cpp index 405dec797dc..82e22054451 100644 --- a/src/mame/drivers/stv.cpp +++ b/src/mame/drivers/stv.cpp @@ -1003,6 +1003,7 @@ static ADDRESS_MAP_START( stv_mem, AS_PROGRAM, 32, stv_state ) AM_RANGE(0x06000000, 0x060fffff) AM_RAM AM_MIRROR(0x21f00000) AM_SHARE("workram_h") AM_RANGE(0x20000000, 0x2007ffff) AM_ROM AM_SHARE("share6") // bios mirror AM_RANGE(0x22000000, 0x24ffffff) AM_ROM AM_SHARE("share7") // cart mirror + AM_RANGE(0x60000000, 0x600003ff) AM_WRITENOP AM_RANGE(0xc0000000, 0xc00007ff) AM_RAM // cache RAM ADDRESS_MAP_END @@ -2875,6 +2876,7 @@ ROM_START( sfish2 ) ROM_REGION( 0x080000, "maincpu", 0 ) /* SH2 code */ ROM_LOAD16_WORD_SWAP( "epr18343.bin", 0x000000, 0x080000, CRC(48e2eecf) SHA1(a38bfbd5f279525e413b18b5ed3f37f6e9e31cdc) ) /* sport fishing 2 bios */ + ROM_FILL( 0x809c, 1, 'U' ) // TODO: hardcoded country code??? ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */ ROM_COPY( "maincpu",0x000000,0,0x080000) @@ -2897,6 +2899,8 @@ ROM_START( sfish2j ) ROM_REGION( 0x080000, "maincpu", 0 ) /* SH2 code */ ROM_LOAD16_WORD_SWAP( "epr18343.bin", 0x000000, 0x080000, CRC(48e2eecf) SHA1(a38bfbd5f279525e413b18b5ed3f37f6e9e31cdc) ) /* sport fishing 2 bios */ + ROM_FILL( 0x809c, 1, 'J' ) // TODO: hardcoded country code??? + ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */ ROM_COPY( "maincpu",0x000000,0,0x080000) -- cgit v1.2.3