Skip to content

Commit

Permalink
plugins/ksys573_da_offset: Use "pre-start" callback.
Browse files Browse the repository at this point in the history
The names of the callbacks are misleading - "pre-start" is actually
start, "start" is actually reset.  Eventually the callback code needs to
be changed and the names can be made less misleading.
  • Loading branch information
cuavas committed Mar 25, 2023
1 parent 4f2e4c4 commit fad738b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ksys573_da_offset/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function ksys573_da_offset.startplugin()
return menu
end

emu.register_start(
emu.register_prestart(
function ()
if not manager.machine.devices[":k573dio"] then
counter_offset = nil
Expand Down

0 comments on commit fad738b

Please sign in to comment.