trunk/src/mame/machine/raiden2cop.c
| r32378 | r32379 | |
| 1562 | 1562 | |
| 1563 | 1563 | void raiden2cop_device::LEGACY_cop_collision_update_hitbox(address_space &space, int slot, UINT32 hitadr) |
| 1564 | 1564 | { |
| 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); |
| 1568 | 1568 | |
| 1569 | 1569 | INT16 start_x,start_y,height,width; |
| 1570 | 1570 | |