Memory fixes

This commit is contained in:
Nekotekina 2014-10-01 17:18:38 +04:00
parent ce97a7e7a6
commit 4a6779469c
7 changed files with 32 additions and 43 deletions

View file

@ -178,7 +178,7 @@ void getSaveDataStat(SaveDataEntry entry, vm::ptr<CellSaveDataStatGet> statGet)
strcpy_trunc(statGet->getParam.listParam, entry.listParam);
statGet->fileNum = 0;
statGet->fileList = vm::bptr<CellSaveDataFileStat>::make(0);
statGet->fileList.set(be_t<u32>::make(0));
statGet->fileListNum = 0;
std::string saveDir = "/dev_hdd0/home/00000001/savedata/" + entry.dirName; // TODO: Get the path of the current user
vfsDir dir(saveDir);