add experimental subfme and subfze support and fix cache folder creation

This commit is contained in:
Peter Tissen 2014-03-18 23:58:42 +01:00
parent 2f65e84562
commit 2ddee26d83
5 changed files with 35 additions and 5 deletions

View file

@ -973,7 +973,7 @@ int cellSysCacheMount(mem_ptr_t<CellSysCacheParam> param)
char id[CELL_SYSCACHE_ID_SIZE];
strncpy(id, param->cacheId, CELL_SYSCACHE_ID_SIZE);
strncpy(param->getCachePath, ("/dev_hdd1/cache/" + std::string(id) + "/").c_str(), CELL_SYSCACHE_PATH_MAX);
Emu.GetVFS().CreateFile(wxString(param->getCachePath));
Emu.GetVFS().CreateDir(wxString(param->getCachePath));
return CELL_SYSCACHE_RET_OK_RELAYED;
}