2015-07-30 00:30:13 +02:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/Memory/Memory.h"
|
|
|
|
|
#include "Emu/SysCalls/Modules.h"
|
|
|
|
|
|
2015-08-21 22:57:49 +02:00
|
|
|
#include "cellGame.h"
|
|
|
|
|
|
2015-07-30 00:30:13 +02:00
|
|
|
extern Module cellGameExec;
|
|
|
|
|
|
|
|
|
|
s32 cellGameSetExitParam()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellGameGetHomeDataExportPath()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellGameGetHomePath()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellGameGetHomeDataImportPath()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellGameGetHomeLaunchOptionPath()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-21 22:57:49 +02:00
|
|
|
s32 cellGameGetBootGameInfo(vm::ptr<u32> type, vm::ptr<char> dirName, vm::ptr<u32> execData)
|
2015-07-30 00:30:13 +02:00
|
|
|
{
|
2015-09-08 12:47:00 +02:00
|
|
|
cellGameExec.Todo("cellGameGetBootGameInfo(type=*0x%x, dirName=*0x%x, execData=*0x%x)", type, dirName, execData);
|
2015-07-30 00:30:13 +02:00
|
|
|
|
2015-08-21 22:57:49 +02:00
|
|
|
// TODO: Support more boot types
|
|
|
|
|
*type = CELL_GAME_GAMETYPE_SYS;
|
|
|
|
|
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
2015-07-30 00:30:13 +02:00
|
|
|
|
|
|
|
|
Module cellGameExec("cellGameExec", []()
|
|
|
|
|
{
|
|
|
|
|
REG_FUNC(cellGameExec, cellGameSetExitParam);
|
|
|
|
|
REG_FUNC(cellGameExec, cellGameGetHomeDataExportPath);
|
|
|
|
|
REG_FUNC(cellGameExec, cellGameGetHomePath);
|
|
|
|
|
REG_FUNC(cellGameExec, cellGameGetHomeDataImportPath);
|
|
|
|
|
REG_FUNC(cellGameExec, cellGameGetHomeLaunchOptionPath);
|
|
|
|
|
REG_FUNC(cellGameExec, cellGameGetBootGameInfo);
|
|
|
|
|
});
|