Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
00551 DIP/Input Minor Always Jan 30, 2008, 20:36 Jan 31, 2008, 03:43
Tester Justin Kerk View Status Public Platform
Assigned To Resolution Fixed OS
Status [?] Resolved Driver
Version 0.117u1 Fixed in Version 0.117u2 Build
Fixed in Git Commit Github Pull Request #
Summary 00551: Axes remapping problem
Description The mapped axes are not correctly loaded from the cfg file (joystick, mouse or gun).

Tested with 0.117u1

1. Delete cfg/pacman.cfg
2. mame pacman
3. Tab->Input (this Game)->P1 Up->hit up on your joystick
Now shows as mapped to "Joy 1 Up"
4. Quit MAME
pacman.cfg contains the following:

<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="pacman">
            <port type="P1_JOYSTICK_UP" mask="1" index="1" defvalue="1">
                <newseq type="standard">

5. mame pacman
6. Tab->Input (this Game)
Now shows as mapped to "n/a"
7. Quit MAME

#0  0x00dbbfbb in input_code_to_token (code=67194905, buffer=0x22dcdc "",
    buflen=256) at src/emu/input.c:1161
#1  0x00dc64d0 in input_seq_to_tokens (seq=0x511dad8, buffer=0x22dcdc "",
    buflen=256) at src/emu/inputseq.c:504
#2  0x00d36106 in input_port_save (config_type=3, parentnode=0x4b43fd0)
    at src/emu/inptport.c:1786
#3  0x00dc4b47 in config_save_xml (file=0x4b43bf0, which_type=3)
    at src/emu/config.c:346
#4  0x00dc5191 in config_save_settings () at src/emu/config.c:199
#5  0x00d3dd33 in run_game (driver=0x1466f40) at src/emu/mame.c:368
#6  0x00dc26dd in cli_execute (argc=3, argv=0x4b10bb0, osd_options=0x20e5bd0)
    at src/emu/clifront.c:260
#7  0x00ce3633 in utf8_main (argc=3, argv=0x4b10bb0)
    at src/osd/windows/winmain.c:251
#8  0x013d306e in main (argc=2293680, a_argv=0x4b10b60)
    at src/osd/windows/main.c:67
Steps To Reproduce
Additional Information
Github Commit
Regression Version
Affected Sets / Systems
Attached Files
There are no relationship linked to this issue.
There are no notes attached to this issue.