emirage: fix magnet/piece locate center

This commit is contained in:
hap 2024-03-22 21:07:04 +01:00
parent c225071d50
commit 5c8953fb02

View File

@ -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)