add a gazillion more error_code

This commit is contained in:
Megamouse 2020-07-16 12:14:57 +02:00
parent a00ebacef3
commit d854a39500
72 changed files with 2040 additions and 1349 deletions

View file

@ -1,17 +1,17 @@
#include "stdafx.h"
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "cellGame.h"
LOG_CHANNEL(cellGameExec);
s32 cellGameSetExitParam(u32 execdata)
error_code cellGameSetExitParam(u32 execdata)
{
cellGameExec.todo("cellGameSetExitParam(execdata=0x%x)", execdata);
return CELL_OK;
}
s32 cellGameGetHomeDataExportPath(vm::ptr<char> exportPath)
error_code cellGameGetHomeDataExportPath(vm::ptr<char> exportPath)
{
cellGameExec.warning("cellGameGetHomeDataExportPath(exportPath=*0x%x)", exportPath);
@ -25,13 +25,13 @@ s32 cellGameGetHomeDataExportPath(vm::ptr<char> exportPath)
return CELL_GAME_ERROR_NOAPP;
}
s32 cellGameGetHomePath()
error_code cellGameGetHomePath()
{
UNIMPLEMENTED_FUNC(cellGameExec);
return CELL_OK;
}
s32 cellGameGetHomeDataImportPath(vm::ptr<char> importPath)
error_code cellGameGetHomeDataImportPath(vm::ptr<char> importPath)
{
cellGameExec.warning("cellGameGetHomeDataImportPath(importPath=*0x%x)", importPath);
@ -45,7 +45,7 @@ s32 cellGameGetHomeDataImportPath(vm::ptr<char> importPath)
return CELL_GAME_ERROR_NOAPP;
}
s32 cellGameGetHomeLaunchOptionPath(vm::ptr<char> commonPath, vm::ptr<char> personalPath)
error_code cellGameGetHomeLaunchOptionPath(vm::ptr<char> commonPath, vm::ptr<char> personalPath)
{
cellGameExec.todo("cellGameGetHomeLaunchOptionPath(commonPath=%s, personalPath=%s)", commonPath, personalPath);
@ -58,13 +58,13 @@ s32 cellGameGetHomeLaunchOptionPath(vm::ptr<char> commonPath, vm::ptr<char> pers
return CELL_GAME_ERROR_NOAPP;
}
s32 cellGameExecGame()
error_code cellGameExecGame()
{
UNIMPLEMENTED_FUNC(cellGameExec);
return CELL_OK;
}
s32 cellGameGetBootGameInfo(vm::ptr<u32> type, vm::ptr<char> dirName, vm::ptr<u32> execdata)
error_code cellGameGetBootGameInfo(vm::ptr<u32> type, vm::ptr<char> dirName, vm::ptr<u32> execdata)
{
cellGameExec.todo("cellGameGetBootGameInfo(type=*0x%x, dirName=%s, execdata=*0x%x)", type, dirName, execdata);