From 4b5b14829ce7bc4633bde384d4f297e98c785e1c Mon Sep 17 00:00:00 2001 From: yz70s Date: Wed, 3 Aug 2016 12:24:10 +0200 Subject: [PATCH] chihiro.cpp: games hotd3 and vcop3 boot too, mj2c throws an exception (nw) --- src/mame/drivers/chihiro.cpp | 3 ++- src/mame/video/chihiro.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/chihiro.cpp b/src/mame/drivers/chihiro.cpp index 1ea32a63cb9..d2f15f54fcf 100644 --- a/src/mame/drivers/chihiro.cpp +++ b/src/mame/drivers/chihiro.cpp @@ -710,7 +710,7 @@ void chihiro_state::hack_eeprom() m_maincpu->space(0).write_byte(0x3b767, 0xc3); } -#define HACK_ITEMS 4 +#define HACK_ITEMS 5 static const struct { const char *game_name; const bool disable_usb; @@ -722,6 +722,7 @@ static const struct { { "outr2", true, { { 0x12e4cf, 0x01 }, { 0x12e4d0, 0x00 }, { 0x4793e, 0x01 }, { 0x4793f, 0x00 }, { 0x47aa3, 0x01 }, { 0x47aa4, 0x00 }, { 0x14f2b6, 0x84 }, { 0x14f2d1, 0x75 }, { 0x8732f, 0x7d }, { 0x87384, 0x7d }, { 0x87388, 0xeb }, { 0, 0 } } }, { "crtaxihr", false, { { 0x14ada5/*11fda5*/, 0x90 },{ 0x14ada6/*11fda6*/, 0x90 }, { 0, 0 } } }, { "ghostsqu", false, { { 0x78833/*4d833*/, 0x90 },{ 0x78834/*4d834*/, 0x90 }, { 0, 0 } } }, + { "vcop3", false, { { 0x61a23/*36a23*/, 0x90 },{ 0x61a24/*36a24*/, 0x90 }, { 0, 0 } } }, }; void chihiro_state::hack_usb() diff --git a/src/mame/video/chihiro.cpp b/src/mame/video/chihiro.cpp index dfe867e78cc..4fea75339c1 100644 --- a/src/mame/video/chihiro.cpp +++ b/src/mame/video/chihiro.cpp @@ -4657,6 +4657,9 @@ WRITE32_MEMBER(nv2a_renderer::geforce_w) ((*dmaput == 0x045cd000) && (*dmaget == 0x07f4d000)) || // only for scg06nt ((*dmaput == 0x0494c000) && (*dmaget == 0x07f4d000)) || // only for wangmid ((*dmaput == 0x05acd000) && (*dmaget == 0x07f4d000)) || // only for ghostsqu + ((*dmaput == 0x0574d000) && (*dmaget == 0x07f4d000)) || // only for mj2c + ((*dmaput == 0x07ca3000) && (*dmaget == 0x07f4d000)) || // only for hotd3 + ((*dmaput == 0x063cd000) && (*dmaget == 0x07f4d000)) || // only for vcop3 ((*dmaput == 0x07dca000) && (*dmaget == 0x07f4d000))) // only for crtaxihr { *dmaget = *dmaput;