shuuz: fix trackball regression

(cherry picked from commit 988951dac3)
This commit is contained in:
hap 2023-03-27 15:11:07 +02:00
parent 6eee46c147
commit 8ddd9f6c49
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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)