From e3f1dbba2611ccc13175fa1e562611b0e2bf65ed Mon Sep 17 00:00:00 2001 From: tomvita <68505331+tomvita@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:48:07 +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..4fee557 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) != 0x80000000) return ""; std::stringstream buttonstring; for (u32 i = 0; i < buttonCodes.size(); i++) {