summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/x1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/x1.cpp b/src/mame/drivers/x1.cpp
index fde4a7e88a8..15ebfde6b17 100644
--- a/src/mame/drivers/x1.cpp
+++ b/src/mame/drivers/x1.cpp
@@ -989,7 +989,7 @@ WRITE8_MEMBER( x1_state::x1turboz_4096_palette_w )
}
else //compatible mode
{
- switch (data & 0x0300)
+ switch (offset & 0x0300)
{
case 0x0000:
x1_pal_b_w(space, offset & 0x00ff, data);