mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
plugins/cheatfind: don't try to call a handler for the previous menu option
This commit is contained in:
parent
160c540b47
commit
ea0cdde148
@ -1049,6 +1049,7 @@ function cheatfind.startplugin()
|
||||
menu_is_showing = false
|
||||
return false -- return false so menu will be popped off the stack
|
||||
end
|
||||
if index == 0 then return false end
|
||||
return menu_func[index](event)
|
||||
end
|
||||
emu.register_menu(menu_callback, menu_populate, _("Cheat Finder"))
|
||||
|
Loading…
Reference in New Issue
Block a user