mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
parent
ca30131faa
commit
5d3b0e7352
1 changed files with 4 additions and 2 deletions
|
@ -460,8 +460,6 @@ error_code cellGameDataCheckCreate2(ppu_thread& ppu, u32 version, vm::cptr<char>
|
||||||
vm::var<CellGameDataStatSet> cbSet;
|
vm::var<CellGameDataStatSet> cbSet;
|
||||||
cbGet->isNewData = fs::is_dir(vfs::get(dir)) ? CELL_GAMEDATA_ISNEWDATA_NO : CELL_GAMEDATA_ISNEWDATA_YES;
|
cbGet->isNewData = fs::is_dir(vfs::get(dir)) ? CELL_GAMEDATA_ISNEWDATA_NO : CELL_GAMEDATA_ISNEWDATA_YES;
|
||||||
|
|
||||||
vm::var<CellGameDataSystemFileParam> setParam;
|
|
||||||
cbSet->setParam = setParam;
|
|
||||||
|
|
||||||
// TODO: Use the free space of the computer's HDD where RPCS3 is being run.
|
// TODO: Use the free space of the computer's HDD where RPCS3 is being run.
|
||||||
cbGet->hddFreeSizeKB = 40000000; //40 GB
|
cbGet->hddFreeSizeKB = 40000000; //40 GB
|
||||||
|
@ -491,6 +489,10 @@ error_code cellGameDataCheckCreate2(ppu_thread& ppu, u32 version, vm::cptr<char>
|
||||||
strcpy_trunc(cbGet->getParam.titleLang[i], psf::get_string(sfo, fmt::format("TITLE_%02d", i)));
|
strcpy_trunc(cbGet->getParam.titleLang[i], psf::get_string(sfo, fmt::format("TITLE_%02d", i)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vm::var<CellGameDataSystemFileParam> setParam;
|
||||||
|
*setParam = cbGet->getParam;
|
||||||
|
cbSet->setParam = setParam;
|
||||||
|
|
||||||
funcStat(ppu, cbResult, cbGet, cbSet);
|
funcStat(ppu, cbResult, cbGet, cbSet);
|
||||||
|
|
||||||
switch ((s32)cbResult->result)
|
switch ((s32)cbResult->result)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue