diff --git a/rpcs3/Emu/Cell/Modules/cellGameExec.cpp b/rpcs3/Emu/Cell/Modules/cellGameExec.cpp index c1f2a4c6e9..aa0a3de7b1 100644 --- a/rpcs3/Emu/Cell/Modules/cellGameExec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGameExec.cpp @@ -5,14 +5,15 @@ logs::channel cellGameExec("cellGameExec"); -s32 cellGameSetExitParam() +s32 cellGameSetExitParam(u32 execdata) { - fmt::throw_exception("Unimplemented" HERE); + cellGameExec.todo("cellGameSetExitParam(execdata=0x%x)", execdata); + return CELL_OK; } s32 cellGameGetHomeDataExportPath(vm::ptr exportPath) { - cellGameExec.warning("cellGameGetHomeDataExportPath(exportPath=0x%x)", exportPath); + cellGameExec.warning("cellGameGetHomeDataExportPath(exportPath=*0x%x)", exportPath); // TODO: PlayStation home is defunct. @@ -21,12 +22,17 @@ s32 cellGameGetHomeDataExportPath(vm::ptr exportPath) s32 cellGameGetHomePath() { - fmt::throw_exception("Unimplemented" HERE); + UNIMPLEMENTED_FUNC(cellGameExec); + return CELL_OK; } -s32 cellGameGetHomeDataImportPath() +s32 cellGameGetHomeDataImportPath(vm::ptr importPath) { - fmt::throw_exception("Unimplemented" HERE); + cellGameExec.warning("cellGameGetHomeDataImportPath(importPath=*0x%x)", importPath); + + // TODO: PlayStation home is defunct. + + return CELL_GAME_ERROR_NOAPP; } s32 cellGameGetHomeLaunchOptionPath(vm::ptr commonPath, vm::ptr personalPath) @@ -37,9 +43,9 @@ s32 cellGameGetHomeLaunchOptionPath(vm::ptr commonPath, vm::ptr pers return CELL_GAME_ERROR_NOAPP; } -s32 cellGameGetBootGameInfo(vm::ptr type, vm::ptr dirName, vm::ptr execData) +s32 cellGameGetBootGameInfo(vm::ptr type, vm::ptr dirName, vm::ptr execdata) { - cellGameExec.todo("cellGameGetBootGameInfo(type=*0x%x, dirName=%s, execData=*0x%x)", type, dirName, execData); + cellGameExec.todo("cellGameGetBootGameInfo(type=*0x%x, dirName=%s, execdata=*0x%x)", type, dirName, execdata); // TODO: Support more boot types *type = CELL_GAME_GAMETYPE_SYS; diff --git a/rpcs3/Emu/Cell/Modules/cellResc.cpp b/rpcs3/Emu/Cell/Modules/cellResc.cpp index 4d7965e945..bf9d3b25ce 100644 --- a/rpcs3/Emu/Cell/Modules/cellResc.cpp +++ b/rpcs3/Emu/Cell/Modules/cellResc.cpp @@ -123,8 +123,8 @@ s32 cellRescGetFlipStatus() s32 cellRescGetRegisterCount() { - UNIMPLEMENTED_FUNC(cellResc); - return CELL_OK; + cellResc.todo("cellRescGetRegisterCount()"); + return 0; } u64 cellRescGetLastFlipTime() @@ -134,10 +134,9 @@ u64 cellRescGetLastFlipTime() return 0; } -s32 cellRescSetRegisterCount() +void cellRescSetRegisterCount(s32 regCount) { - UNIMPLEMENTED_FUNC(cellResc); - return CELL_OK; + cellResc.todo("cellRescSetRegisterCount(regCount=0x%x)", regCount); } void cellRescSetVBlankHandler(vm::ptr handler)