diff --git a/Makefile b/Makefile index 0cd5d44..085c3e3 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ include $(DEVKITPRO)/libnx/switch_rules #--------------------------------------------------------------------------------- VERSION_MAJOR := 3 VERSION_MINOR := 8 -VERSION_MICRO := 34f +VERSION_MICRO := 34 NIGHTLY := APP_TITLE := EdiZon SE diff --git a/source/guis/gui_cheats.cpp b/source/guis/gui_cheats.cpp index c1a20bc..7cff697 100644 --- a/source/guis/gui_cheats.cpp +++ b/source/guis/gui_cheats.cpp @@ -4207,9 +4207,12 @@ void GuiCheats::onInput(u32 kdown) depth++; continue; } - if (opcode == 7 && FSA == 0) { + if (opcode == 7) { i++; - offset[depth] = cheat.opcodes[i]; + if (FSA == 0) + offset[depth] = cheat.opcodes[i]; + else + offset[depth] = -(u64)cheat.opcodes[i]; // success = true; no7 = false; continue; @@ -4301,8 +4304,12 @@ void GuiCheats::onInput(u32 kdown) Gui::g_currMessageBox->hide(); }) ->show(); - } else + } else { + // add broken pointer chain for reference + m_memoryDumpBookmark->addData((u8 *)&address, sizeof(u64)); + m_AttributeDumpBookmark->addData((u8 *)&bookmark, sizeof(bookmark_t)); (new Snackbar("Not able to extract pointer chain from cheat"))->show(); + }; } // pointercheck(); //disable for now;