diff --git a/Makefile b/Makefile index 9c5be5a..29c68bc 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ include $(DEVKITPRO)/libnx/switch_rules #--------------------------------------------------------------------------------- VERSION_MAJOR := 3 VERSION_MINOR := 8 -VERSION_MICRO := 30 +VERSION_MICRO := 31 NIGHTLY := APP_TITLE := EdiZon SE diff --git a/include/version.h b/include/version.h index 2a06f91..4e0322b 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION_STRING "3.8.30" \ No newline at end of file +#define VERSION_STRING "3.8.31" \ No newline at end of file diff --git a/source/guis/gui_cheats.cpp b/source/guis/gui_cheats.cpp index 6b1960d..3d07ed3 100644 --- a/source/guis/gui_cheats.cpp +++ b/source/guis/gui_cheats.cpp @@ -6299,7 +6299,9 @@ void GuiCheats::searchMemoryAddressesSecondary2(Debugger *debugger, searchValue_ MemoryDump *predataDump = new MemoryDump(EDIZON_DIR "/predatadump2.dat", DumpType::DATA, false); MemoryDump *newdataDump = new MemoryDump(EDIZON_DIR "/datadump2.dat", DumpType::DATA, true); s = m_edizon_dir + "/datadump2B.dat" + m_store_extension; - REPLACEFILE(s.c_str(), EDIZON_DIR "/predatadump2B.dat"); + if (access(s.c_str(), F_OK) == 0) { + REPLACEFILE(s.c_str(), EDIZON_DIR "/predatadump2B.dat"); + } MemoryDump *predataDumpB = new MemoryDump(EDIZON_DIR "/predatadump2B.dat", DumpType::DATA, false); MemoryDump *newdataDumpB = new MemoryDump(EDIZON_DIR "/datadump2B.dat", DumpType::DATA, true); // MemoryDump *debugdump1 = new MemoryDump(EDIZON_DIR "/debugdump1.dat", DumpType::HELPER, true);