Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06913 DIP/Input Minor Always Mar 14, 2018, 17:27 Mar 15, 2018, 00:31
Tester M.A.S.H. View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10 (64-bit)
Status [?] Acknowledged Driver esripsys.cpp
Version 0.195 Fixed in Version Build 64-bit
Summary 06913: turbosub: Inverted input
Description The port handling (emu\ioport.cpp) was changed in MAME 0.192: "Better wraparound handling for relative inputs [AJR]":
https://git.redump.net/mame/commit/?id=dcfdab2735a60c03e2e34cd7a076a3f14b631b49

This broke the Turbo Sub input. If you calibrate the game with joystick or mouse the crosshair movement is inverted
To test it, remove first NVRAM and skip game tests by hold down keypad '*' on start.
Steps To Reproduce Turbo Sub uses the Star Wars yoke controller (http://www.turbosub.com/turbosubmain.html)

MAME's Star Wars input (drivers\starwars.cpp):

PORT_START("STICKY")
PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(70) PORT_KEYDELTA(30)
PORT_START("STICKX")
PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(30)


Turbo Sub's input looks different:

PORT_START("JOYSTICK_X")
PORT_BIT( 0xff, 0x00, IPT_AD_STICK_X ) PORT_MINMAX(0xff, 0x00) PORT_SENSITIVITY(25) PORT_KEYDELTA(200)
PORT_START("JOYSTICK_Y")
PORT_BIT( 0xff, 0x00, IPT_AD_STICK_Y ) PORT_MINMAX(0xff, 0x00) PORT_SENSITIVITY(25) PORT_KEYDELTA(200)

Changing the PORT_KEYDELT to (30) fixed the problem. But a default NVRAM would be better.
Additional Information
Flags
Regression Version 0.192
Affected Sets / Systems turbosub
Attached Files
 
Relationships
There are no relationsihp linked to this issue.
Notes
0
There are no notes attached to this issue.