jtothebell / fake-08

A Pico-8 player/emulator for console homebrew
Other
559 stars 49 forks source link

Fix __f08_menu_items index 1 never used #234

Closed darktiny closed 2 months ago

darktiny commented 3 months ago

I'm not familiar with Lua.

It seems like that index 1 of __f08_menu_items never used. If a game has 5 menu item, "reset cart" will be overwrited.

Tested with Praxis Fighter X-2

jtothebell commented 2 months ago

Good catch, thank you! While testing this I stumbled on another issue with menu items where they wouldn't get set if there wasn't both a label and a callback.