カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
その他解決済み修正済み2023-06-18 07:292023-06-25 14:11
 
テスターBalthier担当者hapソースsega/stv.cpp
バージョン0.255発生バージョン修正バージョン0.256
修正コミット 2321f5cプルリク
フラグ
セット All sets on stv.cpp
セット詳細
 
概 要起動時にコインカウンタが勝手に増える。
詳 細When running a game, the coin counters numbers in the machine's cfg file will increase by 1 on each start up even though credits are not being added by the user. The 6 key for Coin 2 only increases the first coin counter.
再現手順1. run any of the affected games ( https://github.com/mamedev/mame/blob/master/src/mame/sega/stv.cpp#L3842 ).
2. let the game run for a little bit, just don't add any credits.
3. exit the game, go to your cfg directory and examine the game's cfg file. The coin counter numbers should be at 1 now.
4. run the same game and repeat step 2.
5. repeat step 3, and the counters will now be at 2.

Now try pressing the 6 key in-game to add credits, only the first counter will increase.
追加情報Example stvbios.cfg after one run, no credits added:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="stvbios">
        <counters>
            <coins index="0" number="1" />
            <coins index="1" number="1" />
        </counters>
        <image_directories>
            <device instance="cartridge1" directory="" />
            <device instance="cartridge2" directory="" />
            <device instance="cartridge3" directory="" />
            <device instance="cartridge4" directory="" />
        </image_directories>
        <ui_warnings launched="1687026710" warned="1687026710">
            <feature device="scsp" type="sound" status="imperfect" />
        </ui_warnings>
    </system>
</mameconfig>


Tested all the way back to 0.120 and always does this, so maybe not a bug?
Watching the bookkeeping in the UI the counters go up as soon as something is rendered to the screen for the system. Loading just the stvbios with no game even adds to the counters.

Something odd to note with the game pclub2fc: with the 6 key I was able to credit feed the first coin counter after I had caused it to lockout by accidentally mashing the 5 key too quickly. Is this broken or normal? I know the game is marked MNW, but that's for the camera, printer, and sound. Wondering if I should make a separate report about it. I tried this on some other machines on the driver and the lockout never kicked in or those games don't have one. I attached an image of what I'm talking about.
 
添付ファイルpng filepclub2fc_lockout_creditfeed_6.png (2023-06-18 07:29)