Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06913 DIP/Input Minor Always Mar 14, 2018, 17:27 Mar 14, 2020, 02:21
Tester M.A.S.H. View Status Public Platform MAME (Official Binary)
Assigned To M.A.S.H. Resolution Fixed OS Windows 10 (64-bit)
Status [?] Resolved Driver
Version 0.195 Fixed in Version 0.220 Build 64-bit
Fixed in Git Commit Github Pull Request #
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
Github Commit
Flags
Regression Version 0.192
Affected Sets / Systems turbosub
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.17487
M.A.S.H.
Senior Tester
Mar 14, 2020, 02:21
Fixed: https://git.redump.net/mame/commit/?id=b47fa605713d1b83a4bae28ffc7a10d871de04dc