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)|
|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.|
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|
|Affected Sets / Systems|
|There are no relationship linked to this issue.|
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?|
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.
Sep 6, 2019, 13:15