mirror of
https://github.com/holub/mame
synced 2025-06-21 19:56:53 +03:00
chihiro.cpp: crtaxihr boots too (nw)
This commit is contained in:
parent
d762eb9618
commit
af6e551cb8
@ -719,7 +719,7 @@ static const struct {
|
|||||||
} modify[16];
|
} 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 } } },
|
} 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 } } },
|
{ "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()
|
void chihiro_state::hack_usb()
|
||||||
|
@ -1048,11 +1048,10 @@ WRITE8_MEMBER(xbox_base_state::superiors232_write)
|
|||||||
|
|
||||||
READ32_MEMBER(xbox_base_state::ohci_usb_r)
|
READ32_MEMBER(xbox_base_state::ohci_usb_r)
|
||||||
{
|
{
|
||||||
if (usb_hack_enabled)
|
if (offset == 0) /* hacks needed until usb (and jvs) is implemented */
|
||||||
if (offset == 0) /* hacks needed until usb (and jvs) is implemented */
|
{
|
||||||
{
|
hack_usb();
|
||||||
hack_usb();
|
}
|
||||||
}
|
|
||||||
return ohci_usb->read(space, offset, mem_mask);
|
return ohci_usb->read(space, offset, mem_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user