summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2016-07-26 03:16:25 +0200
committer yz70s <yz70s@users.noreply.github.com>2016-07-26 03:23:50 +0200
commitaf6e551cb8d445a1c63d25c5e278aa625cc44cb4 (patch)
tree919e5206128c12cce6a952c252668e6414879de7
parentd762eb9618de7ec79f3deb722f48d40b906e1c02 (diff)
chihiro.cpp: crtaxihr boots too (nw)
-rw-r--r--src/mame/drivers/chihiro.cpp2
-rw-r--r--src/mame/machine/xbox.cpp9
2 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/drivers/chihiro.cpp b/src/mame/drivers/chihiro.cpp
index f13ed822ab0..054aa568a76 100644
--- a/src/mame/drivers/chihiro.cpp
+++ b/src/mame/drivers/chihiro.cpp
@@ -719,7 +719,7 @@ static const struct {
} modify[16];
} hacks[3] = { { "chihiro", false, { { 0x6a79f/*3f79f*/, 0x01 }, { 0x6a7a0/*3f7a0*/, 0x00 }, { 0x6b575/*40575*/, 0x00 }, { 0x6b576/*40576*/, 0x00 }, { 0x6b5af/*405af*/, 0x75 }, { 0x6b78a/*4078a*/, 0x75 }, { 0x6b7ca/*407ca*/, 0x00 }, { 0x6b7b8/*407b8*/, 0x00 }, { 0x8f5b2, 0x75 }, { 0x79a9e/*2ea9e*/, 0x74 }, { 0x79b80/*2eb80*/, 0xeb }, { 0x79b97/*2eb97*/, 0x74 }, { 0, 0 } } },
{ "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, { { 0, 0 } } }, //{ 0x121dce/*f6dce*/, 0xeb }, { 0x121deb/*f6deb*/, 0xeb }, { 0x121fa0/*f6fa0*/, 0xeb }, { 0x14ada5/*11fda5*/, 0x90 }, { 0x14ada6/*11fda6*/, 0x90 }, { 0, 0 } } }
+ { "crtaxihr", false, { { 0x14ada5/*11fda5*/, 0x90 },{ 0x14ada6/*11fda6*/, 0x90 }, { 0, 0 } } },
};
void chihiro_state::hack_usb()
diff --git a/src/mame/machine/xbox.cpp b/src/mame/machine/xbox.cpp
index df7d8c916b8..9b15cbab1ae 100644
--- a/src/mame/machine/xbox.cpp
+++ b/src/mame/machine/xbox.cpp
@@ -1048,11 +1048,10 @@ WRITE8_MEMBER(xbox_base_state::superiors232_write)
READ32_MEMBER(xbox_base_state::ohci_usb_r)
{
- if (usb_hack_enabled)
- if (offset == 0) /* hacks needed until usb (and jvs) is implemented */
- {
- hack_usb();
- }
+ if (offset == 0) /* hacks needed until usb (and jvs) is implemented */
+ {
+ hack_usb();
+ }
return ohci_usb->read(space, offset, mem_mask);
}