mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-10 21:40:43 +00:00
Merge pull request #739 from tambry/BootCheckFix
Don't set game's size info when it's a null pointer
This commit is contained in:
commit
5b89d137fc
@ -23,12 +23,15 @@ int cellGameBootCheck(mem32_t type, mem32_t attributes, mem_ptr_t<CellGameConten
|
|||||||
cellGame->Warning("cellGameBootCheck(type_addr=0x%x, attributes_addr=0x%x, size_addr=0x%x, dirName_addr=0x%x)",
|
cellGame->Warning("cellGameBootCheck(type_addr=0x%x, attributes_addr=0x%x, size_addr=0x%x, dirName_addr=0x%x)",
|
||||||
type.GetAddr(), attributes.GetAddr(), size.GetAddr(), dirName.GetAddr());
|
type.GetAddr(), attributes.GetAddr(), size.GetAddr(), dirName.GetAddr());
|
||||||
|
|
||||||
// TODO: Use the free space of the computer's HDD where RPCS3 is being run.
|
if (size)
|
||||||
size->hddFreeSizeKB = 40000000; // 40 GB
|
{
|
||||||
|
// TODO: Use the free space of the computer's HDD where RPCS3 is being run.
|
||||||
|
size->hddFreeSizeKB = 40000000; // 40 GB
|
||||||
|
|
||||||
// TODO: Calculate data size for HG and DG games, if necessary.
|
// TODO: Calculate data size for HG and DG games, if necessary.
|
||||||
size->sizeKB = CELL_GAME_SIZEKB_NOTCALC;
|
size->sizeKB = CELL_GAME_SIZEKB_NOTCALC;
|
||||||
size->sysSizeKB = 0;
|
size->sysSizeKB = 0;
|
||||||
|
}
|
||||||
|
|
||||||
vfsFile f("/app_home/PARAM.SFO");
|
vfsFile f("/app_home/PARAM.SFO");
|
||||||
if (!f.IsOpened())
|
if (!f.IsOpened())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user