summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-09-03 16:18:18 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-09-03 16:18:18 -0400
commit769992bb028245d417a428fcb0af8e4e78aba193 (patch)
tree5147a6e4de43667ba5d811cf08dde20709b8908d
parent00e87e411c7c07f94e01c43cbc6a07e40c7c0619 (diff)
scramble: Fix protection issue by restoring accidentally deleted line (nw)
-rw-r--r--src/mame/drivers/galaxian.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/drivers/galaxian.cpp b/src/mame/drivers/galaxian.cpp
index aedd23a050a..d0df908c641 100644
--- a/src/mame/drivers/galaxian.cpp
+++ b/src/mame/drivers/galaxian.cpp
@@ -893,6 +893,7 @@ WRITE8_MEMBER(galaxian_state::theend_protection_w)
Handled by a PAL16VR8(?) at 6J. Both inputs and outputs are a nibble.
Logic is not exactly known, but this implementation works well enough.
*/
+ m_protection_state = (m_protection_state << 4) | (data & 0x0f);
const uint8_t num1 = (m_protection_state >> 8) & 0x0f;
const uint8_t num2 = (m_protection_state >> 4) & 0x0f;