Skip to content

Commit

Permalink
Fix temporary Expert mode enable cause crash when there was no cheats
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvita committed Mar 22, 2021
1 parent e2852b6 commit 367a7ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ include $(DEVKITPRO)/libnx/switch_rules
#---------------------------------------------------------------------------------
VERSION_MAJOR := 3
VERSION_MINOR := 8
VERSION_MICRO := 13
VERSION_MICRO := 14
NIGHTLY :=

APP_TITLE := EdiZon SE
Expand Down
2 changes: 1 addition & 1 deletion include/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define VERSION_STRING "3.8.13"
#define VERSION_STRING "3.8.14"
5 changes: 3 additions & 2 deletions source/guis/gui_cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3146,9 +3146,9 @@ void GuiCheats::drawSearchRAMMenu()
// End Mod

if (m_searchValueFormat == FORMAT_DEC)
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 100, Gui::g_framebuffer_height - 100, currTheme.textColor, "\uE0EA \uE0EF \uE0F0 Quick Set Search Mode \uE0E6 - \uE0E7 + \uE0E2 Hexadecimal view \uE0E1 Back \uE0E0 OK", ALIGNED_RIGHT);
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 100, Gui::g_framebuffer_height - 100, currTheme.textColor, "\uE0EA \uE0EF \uE0F0 Quick Set Search Mode \uE0E6 - \uE0E7 + \uE0E2 Hexadecimal view \uE0E1 Back \uE0E0 Enter", ALIGNED_RIGHT);
else if (m_searchValueFormat == FORMAT_HEX)
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 100, Gui::g_framebuffer_height - 100, currTheme.textColor, "\uE0AD SAME \uE0AC DIFF \uE0AB ++ \uE0AE -- \uE0EF A..B \uE0F0 == \uE0E6 - \uE0E7 + \uE0E2 Decimal view \uE0E1 Back \uE0E0 OK", ALIGNED_RIGHT);
Gui::drawTextAligned(font20, Gui::g_framebuffer_width - 100, Gui::g_framebuffer_height - 100, currTheme.textColor, "\uE0AD SAME \uE0AC DIFF \uE0AB ++ \uE0AE -- \uE0EF A..B \uE0F0 == \uE0E6 - \uE0E7 + \uE0E2 Decimal view \uE0E1 Back \uE0E0 Enter", ALIGNED_RIGHT);
};
if (m_selectedEntry == 1)
Gui::drawRectangled(Gui::g_framebuffer_width / 2 - 155, 345, 310, 90, currTheme.highlightColor);
Expand Down Expand Up @@ -3194,6 +3194,7 @@ void GuiCheats::easymode_input(u32 kdown, u32 kheld)
else if (kdown & KEY_R)
{
Config::getConfig()->easymode = false;
m_menuLocation = CANDIDATES;
}
// Gui::g_nextGui = GUI_MEMORY_EDITOR;
else if (kdown & KEY_MINUS)
Expand Down

0 comments on commit 367a7ac

Please sign in to comment.