mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
Add stubs.
This commit is contained in:
parent
cbc067b490
commit
127ad508b4
@ -76,13 +76,13 @@ error_code cellGameGetHomeLaunchOptionPath(vm::ptr<char> commonPath, vm::ptr<cha
|
||||
return CELL_GAME_ERROR_NOAPP;
|
||||
}
|
||||
|
||||
error_code cellGameExecGame()
|
||||
error_code cellGameExecGame(u32 type, vm::ptr<char> dirName, u32 options, u32 memContainer, u32 execData, u32 userData)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellGameExec);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellGameDeleteGame()
|
||||
error_code cellGameDeleteGame(vm::ptr<char> dirName, u32 memContainer)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellGameExec);
|
||||
return CELL_OK;
|
||||
@ -121,6 +121,18 @@ error_code cellGameGetBootGameInfo(vm::ptr<u32> type, vm::ptr<char> dirName, vm:
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellGameGetExitGameInfo(vm::ptr<u32> status, vm::ptr<u32> type, vm::ptr<char> dirName, vm::ptr<u32> execData, vm::ptr<u32> userData)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellGameExec);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellGameGetList(u32 listBufNum, u32 unk, vm::ptr<u32> listNum, vm::ptr<u32> getListNum, u32 memContainer)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellGameExec);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellGameExec)("cellGameExec", []()
|
||||
{
|
||||
REG_FUNC(cellGameExec, cellGameSetExitParam);
|
||||
@ -131,4 +143,6 @@ DECLARE(ppu_module_manager::cellGameExec)("cellGameExec", []()
|
||||
REG_FUNC(cellGameExec, cellGameExecGame);
|
||||
REG_FUNC(cellGameExec, cellGameDeleteGame);
|
||||
REG_FUNC(cellGameExec, cellGameGetBootGameInfo);
|
||||
REG_FUNC(cellGameExec, cellGameGetExitGameInfo);
|
||||
REG_FUNC(cellGameExec, cellGameGetList);
|
||||
});
|
||||
|
17
rpcs3/Emu/Cell/Modules/sceNpPlus.cpp
Normal file
17
rpcs3/Emu/Cell/Modules/sceNpPlus.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(sceNpPlus);
|
||||
|
||||
error_code sceNpManagerIsSP()
|
||||
{
|
||||
sceNpPlus.warning("sceNpManagerIsSP()");
|
||||
// TODO seems to be cut to 1 byte by pshome likely a bool but may be more.
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::sceNpPlus)("sceNpPlus", []()
|
||||
{
|
||||
REG_FUNC(sceNpPlus, sceNpManagerIsSP);
|
||||
});
|
3
rpcs3/Emu/Cell/Modules/sceNpPlus.h
Normal file
3
rpcs3/Emu/Cell/Modules/sceNpPlus.h
Normal file
@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
error_code sceNpManagerIsSP();
|
@ -270,6 +270,7 @@ public:
|
||||
static const ppu_static_module sceNpTrophy;
|
||||
static const ppu_static_module sceNpTus;
|
||||
static const ppu_static_module sceNpUtil;
|
||||
static const ppu_static_module sceNpPlus;
|
||||
static const ppu_static_module sys_crashdump;
|
||||
static const ppu_static_module sys_io;
|
||||
static const ppu_static_module sys_net;
|
||||
|
@ -328,6 +328,7 @@
|
||||
<ClCompile Include="Emu\Cell\Modules\sceNpTrophy.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\sceNpTus.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\sceNpUtil.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\sceNpPlus.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\sysPrxForUser.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\sys_game.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\sys_heap.cpp" />
|
||||
@ -704,6 +705,7 @@
|
||||
<ClInclude Include="Emu\Cell\Modules\sceNpTrophy.h" />
|
||||
<ClInclude Include="Emu\Cell\Modules\sceNpTus.h" />
|
||||
<ClInclude Include="Emu\Cell\Modules\sceNpUtil.h" />
|
||||
<ClInclude Include="Emu\Cell\Modules\sceNpPlus.h" />
|
||||
<ClInclude Include="Emu\Cell\Modules\sysPrxForUser.h" />
|
||||
<ClInclude Include="Emu\Cell\Modules\sys_lv2dbg.h" />
|
||||
<ClInclude Include="Emu\Cell\Modules\sys_net_.h" />
|
||||
|
@ -636,6 +636,9 @@
|
||||
<ClCompile Include="Emu\Cell\Modules\sceNpUtil.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\sceNpPlus.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\sys_game.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
@ -1575,6 +1578,9 @@
|
||||
<ClInclude Include="Emu\Cell\Modules\sceNpUtil.h">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\Cell\Modules\sceNpPlus.h">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\Cell\Modules\sys_crashdump.h">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClInclude>
|
||||
|
Loading…
x
Reference in New Issue
Block a user