From 5c8953fb02bea896e1ea897b3097e0add4386be4 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 22 Mar 2024 21:07:04 +0100 Subject: [PATCH] emirage: fix magnet/piece locate center --- src/mame/chess/excal_mirage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/chess/excal_mirage.cpp b/src/mame/chess/excal_mirage.cpp index 3d6a420441e..93048a25cfa 100644 --- a/src/mame/chess/excal_mirage.cpp +++ b/src/mame/chess/excal_mirage.cpp @@ -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)