From 18a6113655ee8a34c35a01ff351cbeee47992c11 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 4 Nov 2021 11:41:46 +1100 Subject: Two small fixes (bad menu flags in cheat plugin, copy/paste in docs). --- docs/source/usingmame/ui.rst | 5 +++-- plugins/cheat/init.lua | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/source/usingmame/ui.rst b/docs/source/usingmame/ui.rst index c48adf18055..82f3aa579bd 100644 --- a/docs/source/usingmame/ui.rst +++ b/docs/source/usingmame/ui.rst @@ -222,8 +222,9 @@ Kbd 1 Press the **1** key on the keyboard once, then wait one second to accept the setting. Kbd F12 Kbd Shift Keyboard Alt - Press the **P** key on the keyboard once, press the left **Shift** key once, - press the left **Alt** key once, then wait one second to accept the setting. + Press the **F12** key on the keyboard once, press the left **Shift** key + once, press the left **Alt** key once, then wait one second to accept the + setting. Kbd P not Kbd Shift not Kbd Right Shift Press the **P** key on the keyboard once, press the left **Shift** key twice, press the right **Shift** key twice, then wait one second to accept diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index e3bf6bac56b..41d74ac855a 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -691,10 +691,10 @@ function cheat.startplugin() end end end - menu[#menu + 1] = {"---", "", 0} - menu[#menu + 1] = {_("Set hotkeys"), "", 0} - menu[#menu + 1] = {_("Reset All"), "", 0} - menu[#menu + 1] = {_("Reload All"), "", 0} + menu[#menu + 1] = {"---", "", ""} + menu[#menu + 1] = {_("Set hotkeys"), "", ""} + menu[#menu + 1] = {_("Reset All"), "", ""} + menu[#menu + 1] = {_("Reload All"), "", ""} return menu end -- cgit v1.2.3