-fixed DIOS-MIOS and iso usage

This commit is contained in:
fix94.1 2012-07-27 18:12:30 +00:00
parent 15f9c97ba4
commit 5eaa10320f

View File

@ -839,8 +839,8 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool disc)
} }
else else
{ {
NewCheatPath = sfmt("%s%s", path.c_str(), fmt("%s.gct", id.c_str())); NewCheatPath = sfmt("%s/%s", path.c_str(), fmt("%s.gct", id.c_str()));
path.erase(path.end() - 19, path.end() - 11); NewCheatPath.erase(NewCheatPath.end() - 19, NewCheatPath.end() - 10);
} }
if(cheats) if(cheats)
snprintf(CheatPath, sizeof(CheatPath), "%s/%s", m_cheatDir.c_str(), fmt("%s.gct", id.c_str())); snprintf(CheatPath, sizeof(CheatPath), "%s/%s", m_cheatDir.c_str(), fmt("%s.gct", id.c_str()));