From 07062e4a791386a341e4a7408b2bdc19b35e1930 Mon Sep 17 00:00:00 2001 From: tim lindner Date: Sat, 23 Jul 2022 07:20:43 -0700 Subject: Adjust cocomax 3 hi res adaptor coefecients to better match values from hardware (#10116) --- src/mame/trs/coco.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mame/trs/coco.cpp b/src/mame/trs/coco.cpp index 7a50c0962fb..4bb956608dc 100644 --- a/src/mame/trs/coco.cpp +++ b/src/mame/trs/coco.cpp @@ -1022,17 +1022,16 @@ void coco_state::poll_hires_joystick(void) if (is_cocomax3) { - value *= 2500.0; - value += 400.0; - duration = m_maincpu->clocks_to_attotime((uint64_t) value) * 2; + value *= 2885.0; + value += 380.0; } else /* Tandy Hi-Res Joystick Interface */ { value *= 5850.0; value += 535.0; - duration = attotime::from_usec(value); } + duration = attotime::from_usec(value); m_hiresjoy_transition_timer[axis]->adjust(duration); } else if (!m_hiresjoy_ca && newvalue) -- cgit v1.2.3