mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
cellSysutil: stub cellSysutilGameDataExit functions
This commit is contained in:
parent
b01d8e01e3
commit
cbf12bb54b
1 changed files with 15 additions and 8 deletions
|
@ -4,6 +4,7 @@
|
||||||
#include "Emu/IdManager.h"
|
#include "Emu/IdManager.h"
|
||||||
#include "Emu/VFS.h"
|
#include "Emu/VFS.h"
|
||||||
#include "Emu/Cell/PPUModule.h"
|
#include "Emu/Cell/PPUModule.h"
|
||||||
|
#include "Emu/Cell/Modules/cellGame.h"
|
||||||
|
|
||||||
#include "Emu/Cell/lv2/sys_process.h"
|
#include "Emu/Cell/lv2/sys_process.h"
|
||||||
#include "cellSysutil.h"
|
#include "cellSysutil.h"
|
||||||
|
@ -612,28 +613,34 @@ error_code cellSysutilGameDataAssignVmc()
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code cellSysutilGameDataExit()
|
error_code cellSysutilGameDataExit(u32 unk)
|
||||||
{
|
{
|
||||||
cellSysutil.todo("cellSysutilGameDataExit()");
|
cellSysutil.todo("cellSysutilGameDataExit(unk=%d)", unk);
|
||||||
|
|
||||||
|
if (unk > 4)
|
||||||
|
{
|
||||||
|
return CELL_GAMEDATA_ERROR_PARAM;
|
||||||
|
}
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code cellSysutilGameExit_I()
|
error_code cellSysutilGameExit_I()
|
||||||
{
|
{
|
||||||
cellSysutil.todo("cellSysutilGameExit_I()");
|
cellSysutil.warning("cellSysutilGameExit_I()");
|
||||||
return CELL_OK;
|
return cellSysutilGameDataExit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code cellSysutilGamePowerOff_I()
|
error_code cellSysutilGamePowerOff_I()
|
||||||
{
|
{
|
||||||
cellSysutil.todo("cellSysutilGamePowerOff_I()");
|
cellSysutil.warning("cellSysutilGamePowerOff_I()");
|
||||||
return CELL_OK;
|
return cellSysutilGameDataExit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code cellSysutilGameReboot_I()
|
error_code cellSysutilGameReboot_I()
|
||||||
{
|
{
|
||||||
cellSysutil.todo("cellSysutilGameReboot_I()");
|
cellSysutil.warning("cellSysutilGameReboot_I()");
|
||||||
return CELL_OK;
|
return cellSysutilGameDataExit(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code cellSysutilSharedMemoryAlloc()
|
error_code cellSysutilSharedMemoryAlloc()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue