diff options
| author | 2024-03-22 21:07:04 +0100 | |
|---|---|---|
| committer | 2024-03-23 17:02:29 +0100 | |
| commit | 5c8953fb02bea896e1ea897b3097e0add4386be4 (patch) | |
| tree | 26048ddfa75d4e1114a0a08fd724554861888b3b | |
| parent | c225071d50a2b2bbdc9b70f78af34f186181d6db (diff) | |
emirage: fix magnet/piece locate center
| -rw-r--r-- | src/mame/chess/excal_mirage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
