[Project64] Get MempakNames to set path in CPath constructor

This commit is contained in:
zilmar 2016-02-01 17:03:19 +11:00
parent 649cc48598
commit 4f61d7c5a3
1 changed files with 1 additions and 4 deletions

View File

@ -23,10 +23,7 @@ void Mempak::Load()
{
MempakName.Format("%s_Cont_%d", g_Settings->LoadStringVal(Game_GameName).c_str(), i + 1);
MempakNames[i].SetDriveDirectory(g_Settings->LoadStringVal(Directory_NativeSave).c_str());
MempakNames[i].SetName(MempakName.c_str());
MempakNames[i].SetExtension("mpk");
MempakNames[i] = CPath(g_Settings->LoadStringVal(Directory_NativeSave).c_str(), stdstr_f("%s.mpk",MempakName.c_str()).c_str());
if (!MempakNames[i].DirectoryExists())
{
MempakNames[i].DirectoryCreate();