summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galaxian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galaxian.cpp')
-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;