[ オリジナルレポート ]

BugID: #00551

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力解決済み修正済み2008-01-31 05:362008-01-31 12:43
 
テスターJustin Kerk担当者 ソース
バージョン0.117u1発生バージョン修正バージョン0.117u2
修正コミットプルリク
フラグ旧BugIDjoystickremap0117u1gra
セット
セット詳細
 
概 要軸入力の再マッピング問題。
詳 細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">
        <input>
            <port type="P1_JOYSTICK_UP" mask="1" index="1" defvalue="1">
                <newseq type="standard">
                    JOYCODE_1_Y_UP_SWITCH
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>


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

#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
再現手順 
追加情報 
 
添付ファイル