summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/djboy.cpp
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2018-04-01 16:42:27 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2018-04-01 16:42:27 -0400
commitb58e9011bc03ac8d5d39dcb9d9b39e70daf8f787 (patch) (github)
tree6fb19b9f25e1a520808296ac6039ac82dfc5a965 /src/mame/drivers/djboy.cpp
parent0f8fa8a30d43482e77206531202d676a1436a6e2 (diff)
downloadmame-b58e9011bc03ac8d5d39dcb9d9b39e70daf8f787.tar.bz2
mame-b58e9011bc03ac8d5d39dcb9d9b39e70daf8f787.zip
djboy.cpp: Fix MCU acknowledge writes (nw)
Diffstat (limited to 'src/mame/drivers/djboy.cpp')
-rw-r--r--src/mame/drivers/djboy.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mame/drivers/djboy.cpp b/src/mame/drivers/djboy.cpp
index 7ee49e09381..7ce2c287d26 100644
--- a/src/mame/drivers/djboy.cpp
+++ b/src/mame/drivers/djboy.cpp
@@ -277,8 +277,8 @@ WRITE8_MEMBER(djboy_state::beast_p0_w)
m_slavelatch->write(space, 0, m_beast_p1);
}
- if (BIT(data, 0) == 1)
- m_beastlatch->acknowledge_w(space, 0, data); // TODO : Acknowloge at here too?
+ if (BIT(data, 0) == 0)
+ m_beastlatch->acknowledge_w(space, 0, data);
m_beast_p0 = data;
}
@@ -293,11 +293,6 @@ READ8_MEMBER(djboy_state::beast_p1_r)
WRITE8_MEMBER(djboy_state::beast_p1_w)
{
- if (data == 0xff)
- {
- m_beastlatch->acknowledge_w(space, 0, data);
- }
-
m_beast_p1 = data;
}