From 8ddd9f6c490ffd411a0b3a3be79239c0189ca20b Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 27 Mar 2023 15:11:07 +0200 Subject: [PATCH] shuuz: fix trackball regression (cherry picked from commit 988951dac329c84a39c1734e03bf368fe5634686) --- src/mame/atari/shuuz.cpp | 2 +- src/mame/omron/luna_88k.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/atari/shuuz.cpp b/src/mame/atari/shuuz.cpp index 15f8edf5e6f..467c2430fa3 100644 --- a/src/mame/atari/shuuz.cpp +++ b/src/mame/atari/shuuz.cpp @@ -232,7 +232,7 @@ uint16_t shuuz_state::leta_r(offs_t offset) if (which == 0) { int const dx = (int8_t)m_track[0]->read(); - int const dy = (int8_t)m_track[0]->read(); + int const dy = (int8_t)m_track[1]->read(); m_cur[0] = dx + dy; m_cur[1] = dx - dy; diff --git a/src/mame/omron/luna_88k.cpp b/src/mame/omron/luna_88k.cpp index e7d3c889b89..23a0e534f40 100644 --- a/src/mame/omron/luna_88k.cpp +++ b/src/mame/omron/luna_88k.cpp @@ -695,5 +695,5 @@ ROM_END } // anonymous namespace -/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ -COMP(1992?, luna88k2, 0, 0, luna88k2, luna88k, luna_88k_state, init, "Omron", "Luna 88K²", MACHINE_IS_SKELETON) +/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ +COMP(1992?, luna88k2, 0, 0, luna88k2, luna88k, luna_88k_state, init, "Omron", u8"Luna 88K²", MACHINE_IS_SKELETON)