Previous 199869 Revisions Next

r32379 Thursday 25th September, 2014 at 17:05:39 UTC by David Haywood
note (nw)
[src/mame/machine]raiden2cop.c

trunk/src/mame/machine/raiden2cop.c
r32378r32379
15621562
15631563void  raiden2cop_device::LEGACY_cop_collision_update_hitbox(address_space &space, int slot, UINT32 hitadr)
15641564{
1565   UINT16 hitboxaddr = space.read_word(hitadr);
1566   UINT16 hithoxy = space.read_word((hitadr & 0xffff0000) | (hitboxaddr));
1567   UINT16 hitboxx = space.read_word(((hitadr & 0xffff0000) | (hitboxaddr)) + 2);
1565   UINT32 hitadr2 = space.read_word(hitadr) | (cop_hit_baseadr << 16); // DON'T use cop_read_word here, doesn't need endian fixing?!
1566   UINT16 hithoxy = space.read_word(hitadr2);
1567   UINT16 hitboxx = space.read_word(hitadr2 + 2);
15681568
15691569   INT16 start_x,start_y,height,width;
15701570

Previous 199869 Revisions Next


© 1997-2024 The MAME Team