1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

cellHddGameGetSizeKB w/a

This commit is contained in:
Nekotekina 2017-02-05 16:07:26 +03:00
parent 9767cc84b0
commit eebd48e51d

View File

@ -179,9 +179,12 @@ s32 cellHddGameCheck2()
fmt::throw_exception("Unimplemented" HERE);
}
s32 cellHddGameGetSizeKB()
s32 cellHddGameGetSizeKB(vm::ptr<u32> size)
{
fmt::throw_exception("Unimplemented" HERE);
cellGame.todo("cellHddGameGetSizeKB(size=*0x%x)", size);
*size = 0;
return CELL_OK;
}
s32 cellHddGameSetSystemVer()
@ -197,11 +200,9 @@ s32 cellHddGameExitBroken()
s32 cellGameDataGetSizeKB(vm::ptr<u32> size)
{
cellGame.warning("cellGameDataGetSizeKB(): Unimplemented, returning 0");
if (size)
{
*size = 0;
}
cellGame.todo("cellGameDataGetSizeKB(size=*0x%x)", size);
*size = 0;
return CELL_OK;
}
@ -669,9 +670,11 @@ error_code cellGameSetParamString(s32 id, vm::cptr<char> buf)
return CELL_OK;
}
s32 cellGameGetSizeKB()
s32 cellGameGetSizeKB(vm::ptr<s32> size)
{
UNIMPLEMENTED_FUNC(cellGame);
cellGame.todo("cellGameGetSizeKB(size=*0x%x)", size);
*size = 0;
return CELL_OK;
}