diff options
-rw-r--r-- | src/devices/bus/gba/rom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/gba/rom.cpp b/src/devices/bus/gba/rom.cpp index c99f15cd6c8..5fc4798f1d7 100644 --- a/src/devices/bus/gba/rom.cpp +++ b/src/devices/bus/gba/rom.cpp @@ -863,7 +863,7 @@ void gba_s3511_device::write(UINT16 data, int gpio_dirs) { // if (m_phase == 3) // printf("RTC command OK\n"); - if (!(m_last_val & 1) & (data & 1)) + if (!(m_last_val & 1) && (data & 1)) { // bit transfer m_last_val = data & 0xff; |