summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author etabeta78 <doge.fabio@gmail.com>2016-06-06 19:04:11 +0200
committer etabeta78 <doge.fabio@gmail.com>2016-06-06 19:04:11 +0200
commit18fb4472cf938cac80518dbb175126828bfa5de2 (patch)
tree0d3634194675c89466083a74b02009a74fd89cf0 /src/devices
parentc431bf4d50fdf254f8212c4633a41a1ceca03012 (diff)
sorry for the inconvenience. nw.
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/bus/gba/rom.cpp2
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;