From 5eaa10320f3a389788be2ee4f7271efdc08cf904 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Fri, 27 Jul 2012 18:12:30 +0000 Subject: [PATCH] -fixed DIOS-MIOS and iso usage --- source/menu/menu_game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index fa7117f3..5a787d10 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -839,8 +839,8 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool disc) } else { - NewCheatPath = sfmt("%s%s", path.c_str(), fmt("%s.gct", id.c_str())); - path.erase(path.end() - 19, path.end() - 11); + NewCheatPath = sfmt("%s/%s", path.c_str(), fmt("%s.gct", id.c_str())); + NewCheatPath.erase(NewCheatPath.end() - 19, NewCheatPath.end() - 10); } if(cheats) snprintf(CheatPath, sizeof(CheatPath), "%s/%s", m_cheatDir.c_str(), fmt("%s.gct", id.c_str()));