mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
emirage: fix magnet/piece locate center
This commit is contained in:
parent
c225071d50
commit
5c8953fb02
@ -267,7 +267,7 @@ void mirage_state::update_piece(u8 magnet)
|
||||
if (x < 0)
|
||||
x += 12;
|
||||
|
||||
const bool valid_pos = ((mx | my) & 3) == 2;
|
||||
const bool valid_pos = (mx & 3) == 2 && (my & 3) == 2;
|
||||
|
||||
// sensorboard handling is almost the same as fidelity/phantom.cpp
|
||||
if (magnet)
|
||||
|
Loading…
Reference in New Issue
Block a user