summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2017-10-08 04:01:43 +0200
committer angelosa <salese_corp_ltd@email.it>2017-10-08 05:08:48 +0200
commit6885fb45278bbf3f0cb6cac1d6059f9b71c2cf40 (patch)
treeb4137a8de86da6adf7958d1da3d169b696458647
parent32868d8d014e05c691665bcc17ea5f444165bfb4 (diff)
stv.cpp: patch Sport Fishing 2 BIOS to actually return a country code, game now errors out to MPEG not found error [Angelo Salese]
-rw-r--r--src/mame/drivers/stv.cpp4
1 files changed, 4 insertions, 0 deletions
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)