From 3ce76f5f636438cc93eeb75113e779ed7c688a8c Mon Sep 17 00:00:00 2001 From: tomvita <68505331+tomvita@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:43:26 +0800 Subject: [PATCH] fix button display string --- source/guis/gui_cheats.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/guis/gui_cheats.cpp b/source/guis/gui_cheats.cpp index 8ec4bfd..385bbc3 100644 --- a/source/guis/gui_cheats.cpp +++ b/source/guis/gui_cheats.cpp @@ -1478,6 +1478,7 @@ void GuiCheats::drawEditRAMMenu() // WIP edit ram std::string GuiCheats::buttonStr(u32 buttoncode) { + if ((buttoncode & 0xFF000000) != 0x08000000) return ""; std::stringstream buttonstring; for (u32 i = 0; i < buttonCodes.size(); i++) {