Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07408 Plugins Minor Always Sep 5, 2019, 05:10 Sep 6, 2019, 13:15
Tester kunikuni View Status Public Platform MAME (Official Binary)
Assigned To Bletch Resolution Fixed OS Windows 10 (64-bit)
Status [?] Resolved Driver
Version 0.213 Fixed in Version 0.214 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 07408: "autofire" plugin is not working properly.
Description In Lua scripts, "emu.register_frame_done" is called twice per frame.
This will affect the behavior of the "autofire" plugin.
Previously it was called once per frame.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.16837
Tafoid
Administrator
Sep 5, 2019, 14:40
I did a test with 0.213 w/Defender and made a button to autofire with 3 on 3 off (10.0 Hz) then compared it to 0.212 behavior and it seemed the 0.213 was firing what seems to be 2 times faster with the same settings. Is this the change you are describing?
User avatar
No.16843
kunikuni
Tester
Sep 5, 2019, 22:29
That’s exactly right.
This is because it is executed twice per frame.
If this is executed once per frame, it will be correct.
User avatar
No.16845
Robbbert
Senior Tester
Sep 6, 2019, 13:15
https://git.redump.net/mame/commit/?id=a17315b742dd3ae2f09d9078846272601139b8c1