cellRec, cellRemotePlay, cellSysconf

This commit is contained in:
Nekotekina 2015-07-31 01:53:52 +03:00
parent 08b6428d5c
commit 137a38b3c6
6 changed files with 145 additions and 4 deletions

View File

@ -44,6 +44,8 @@ extern Module cellPhotoImportUtil;
extern Module cellPngDec; extern Module cellPngDec;
extern Module cellPngEnc; extern Module cellPngEnc;
extern Module cellPrint; extern Module cellPrint;
extern Module cellRec;
extern Module cellRemotePlay;
extern Module cellResc; extern Module cellResc;
extern Module cellRtc; extern Module cellRtc;
extern Module cellRudp; extern Module cellRudp;
@ -61,6 +63,7 @@ extern Module cellSsl;
extern Module cellSubdisplay; extern Module cellSubdisplay;
extern Module cellSync; extern Module cellSync;
extern Module cellSync2; extern Module cellSync2;
extern Module cellSysconf;
extern Module cellSysmodule; extern Module cellSysmodule;
extern Module cellSysutil; extern Module cellSysutil;
extern Module cellSysutilAp; extern Module cellSysutilAp;
@ -158,8 +161,8 @@ const g_module_list[] =
{ 0x0031, "cellSysutilAvconfExt", &cellAvconfExt }, { 0x0031, "cellSysutilAvconfExt", &cellAvconfExt },
{ 0x0032, "cellUserInfo", &cellUserInfo }, { 0x0032, "cellUserInfo", &cellUserInfo },
{ 0x0033, "cellSaveData", &cellSaveData }, { 0x0033, "cellSaveData", &cellSaveData },
{ 0x0034, "cellSubdisplay", &cellSubdisplay }, { 0x0034, "cellSubDisplay", &cellSubdisplay },
{ 0x0035, "cellSysutilRec", nullptr }, { 0x0035, "cellRec", &cellRec },
{ 0x0036, "cellVideoExport", nullptr }, { 0x0036, "cellVideoExport", nullptr },
{ 0x0037, "cellGameExec", &cellGameExec }, { 0x0037, "cellGameExec", &cellGameExec },
{ 0x0038, "sceNp2", &sceNp2 }, { 0x0038, "sceNp2", &sceNp2 },
@ -172,7 +175,7 @@ const g_module_list[] =
{ 0x003f, "cellBGDLUtility", &cellBGDL }, { 0x003f, "cellBGDLUtility", &cellBGDL },
{ 0x0040, "cell_FreeType2", nullptr }, { 0x0040, "cell_FreeType2", nullptr },
{ 0x0041, "cellSysutilVideoUpload", nullptr }, { 0x0041, "cellSysutilVideoUpload", nullptr },
{ 0x0042, "cellSysutilSysconfExt", nullptr }, { 0x0042, "cellSysconfExtUtility", &cellSysconf },
{ 0x0043, "cellFiber", &cellFiber }, { 0x0043, "cellFiber", &cellFiber },
{ 0x0044, "sceNpCommerce2", &sceNpCommerce2 }, { 0x0044, "sceNpCommerce2", &sceNpCommerce2 },
{ 0x0045, "sceNpTus", &sceNpTus }, { 0x0045, "sceNpTus", &sceNpTus },
@ -204,7 +207,7 @@ const g_module_list[] =
{ 0xf02b, "cellPhotoImportUtil", &cellPhotoImportUtil }, { 0xf02b, "cellPhotoImportUtil", &cellPhotoImportUtil },
{ 0xf02c, "cellMusicExportUtility", &cellMusicExport }, { 0xf02c, "cellMusicExportUtility", &cellMusicExport },
{ 0xf02e, "cellPhotoDecodeUtil", &cellPhotoDecode }, { 0xf02e, "cellPhotoDecodeUtil", &cellPhotoDecode },
{ 0xf02f, "cellSearch", &cellSearch }, { 0xf02f, "cellSearchUtility", &cellSearch },
{ 0xf030, "cellSysutilAvc2", &cellSysutilAvc2 }, { 0xf030, "cellSysutilAvc2", &cellSysutilAvc2 },
{ 0xf034, "cellSailRec", &cellSailRec }, { 0xf034, "cellSailRec", &cellSailRec },
{ 0xf035, "sceNpTrophy", &sceNpTrophy }, { 0xf035, "sceNpTrophy", &sceNpTrophy },
@ -217,6 +220,7 @@ const g_module_list[] =
{ -1, "sys_libc", &sys_libc }, { -1, "sys_libc", &sys_libc },
{ -1, "cellMinisSaveData", &cellMinisSaveData }, { -1, "cellMinisSaveData", &cellMinisSaveData },
{ -1, "cellSpudll", &cellSpudll }, { -1, "cellSpudll", &cellSpudll },
{ -1, "cellRemotePlay", &cellRemotePlay },
}; };
void ModuleManager::Init() void ModuleManager::Init()

View File

@ -0,0 +1,52 @@
#include "stdafx.h"
#include "Emu/Memory/Memory.h"
#include "Emu/SysCalls/Modules.h"
extern Module cellRec;
s32 cellRecOpen()
{
throw EXCEPTION("");
}
s32 cellRecClose()
{
throw EXCEPTION("");
}
s32 cellRecGetInfo()
{
throw EXCEPTION("");
}
s32 cellRecStop()
{
throw EXCEPTION("");
}
s32 cellRecStart()
{
throw EXCEPTION("");
}
s32 cellRecQueryMemSize()
{
throw EXCEPTION("");
}
s32 cellRecSetInfo()
{
throw EXCEPTION("");
}
Module cellRec("cellRec", []()
{
REG_FUNC(cellRec, cellRecOpen);
REG_FUNC(cellRec, cellRecClose);
REG_FUNC(cellRec, cellRecGetInfo);
REG_FUNC(cellRec, cellRecStop);
REG_FUNC(cellRec, cellRecStart);
REG_FUNC(cellRec, cellRecQueryMemSize);
REG_FUNC(cellRec, cellRecSetInfo);
});

View File

@ -0,0 +1,58 @@
#include "stdafx.h"
#include "Emu/Memory/Memory.h"
#include "Emu/SysCalls/Modules.h"
extern Module cellRemotePlay;
s32 cellRemotePlayGetStatus()
{
throw EXCEPTION("");
}
s32 cellRemotePlaySetComparativeVolume()
{
throw EXCEPTION("");
}
s32 cellRemotePlayGetPeerInfo()
{
throw EXCEPTION("");
}
s32 cellRemotePlayGetSharedMemory()
{
throw EXCEPTION("");
}
s32 cellRemotePlayEncryptAllData()
{
throw EXCEPTION("");
}
s32 cellRemotePlayStopPeerVideoOut()
{
throw EXCEPTION("");
}
s32 cellRemotePlayGetComparativeVolume()
{
throw EXCEPTION("");
}
s32 cellRemotePlayBreak()
{
throw EXCEPTION("");
}
Module cellRemotePlay("cellRemotePlay", []()
{
REG_FUNC(cellRemotePlay, cellRemotePlayGetStatus);
REG_FUNC(cellRemotePlay, cellRemotePlaySetComparativeVolume);
REG_FUNC(cellRemotePlay, cellRemotePlayGetPeerInfo);
REG_FUNC(cellRemotePlay, cellRemotePlayGetSharedMemory);
REG_FUNC(cellRemotePlay, cellRemotePlayEncryptAllData);
REG_FUNC(cellRemotePlay, cellRemotePlayStopPeerVideoOut);
REG_FUNC(cellRemotePlay, cellRemotePlayGetComparativeVolume);
REG_FUNC(cellRemotePlay, cellRemotePlayBreak);
});

View File

@ -0,0 +1,15 @@
#include "stdafx.h"
#include "Emu/Memory/Memory.h"
#include "Emu/SysCalls/Modules.h"
extern Module cellSysconf;
s32 cellSysconfBtGetDeviceList()
{
throw EXCEPTION("");
}
Module cellSysconf("cellSysconf", []()
{
REG_FUNC(cellSysconf, cellSysconfBtGetDeviceList);
});

View File

@ -50,6 +50,8 @@
<ClCompile Include="Emu\SysCalls\Modules\cellGameExec.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellGameExec.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellMusic.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellMusic.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellOskDialog.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellOskDialog.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellRec.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellRemotePlay.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSpudll.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSpudll.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSpursSpu.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSpursSpu.cpp" />
<ClCompile Include="Crypto\aes.cpp" /> <ClCompile Include="Crypto\aes.cpp" />
@ -260,6 +262,7 @@
<ClCompile Include="Emu\SysCalls\Modules\cellSubdisplay.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSubdisplay.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSync.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSync.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSync2.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSync2.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSysconf.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSysmodule.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSysmodule.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSysutil.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSysutil.cpp" />
<ClCompile Include="Emu\SysCalls\Modules\cellSysutilAp.cpp" /> <ClCompile Include="Emu\SysCalls\Modules\cellSysutilAp.cpp" />

View File

@ -908,6 +908,15 @@
<ClCompile Include="Emu\SysCalls\Modules\cellPrint.cpp"> <ClCompile Include="Emu\SysCalls\Modules\cellPrint.cpp">
<Filter>Emu\SysCalls\Modules</Filter> <Filter>Emu\SysCalls\Modules</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="Emu\SysCalls\Modules\cellRec.cpp">
<Filter>Emu\SysCalls\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\SysCalls\Modules\cellRemotePlay.cpp">
<Filter>Emu\SysCalls\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\SysCalls\Modules\cellSysconf.cpp">
<Filter>Emu\SysCalls\Modules</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="Crypto\aes.h"> <ClInclude Include="Crypto\aes.h">