hle: Add cellNetAoi module

This commit is contained in:
scribam 2019-03-23 23:09:41 +01:00 committed by Ivan
parent 7ea04d5d76
commit 32ae7e466c
5 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,72 @@
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
LOG_CHANNEL(cellNetAoi);
s32 cellNetAoiDeletePeer()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiInit()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiGetPspTitleId()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiTerm()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiStop()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiGetRemotePeerInfo()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiStart()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiGetLocalInfo()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
s32 cellNetAoiAddPeer()
{
UNIMPLEMENTED_FUNC(cellNetAoi);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellNetAoi)("cellNetAoi", []()
{
REG_FUNC(cellNetAoi, cellNetAoiDeletePeer);
REG_FUNC(cellNetAoi, cellNetAoiInit);
REG_FUNC(cellNetAoi, cellNetAoiGetPspTitleId);
REG_FUNC(cellNetAoi, cellNetAoiTerm);
REG_FUNC(cellNetAoi, cellNetAoiStop);
REG_FUNC(cellNetAoi, cellNetAoiGetRemotePeerInfo);
REG_FUNC(cellNetAoi, cellNetAoiStart);
REG_FUNC(cellNetAoi, cellNetAoiGetLocalInfo);
REG_FUNC(cellNetAoi, cellNetAoiAddPeer);
});

View file

@ -193,6 +193,7 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
&ppu_module_manager::cellMusic,
&ppu_module_manager::cellMusicDecode,
&ppu_module_manager::cellMusicExport,
&ppu_module_manager::cellNetAoi,
&ppu_module_manager::cellNetCtl,
&ppu_module_manager::cellOskDialog,
&ppu_module_manager::cellOvis,

View file

@ -200,6 +200,7 @@ public:
static const ppu_static_module cellMusic;
static const ppu_static_module cellMusicDecode;
static const ppu_static_module cellMusicExport;
static const ppu_static_module cellNetAoi;
static const ppu_static_module cellNetCtl;
static const ppu_static_module cellOskDialog;
static const ppu_static_module cellOvis;

View file

@ -190,6 +190,7 @@
<ClCompile Include="Emu\Cell\Modules\cellMusic.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellMusicDecode.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellMusicExport.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellNetAoi.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellNetCtl.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellOskDialog.cpp" />
<ClCompile Include="Emu\Cell\Modules\cellOvis.cpp" />

View file

@ -410,6 +410,9 @@
<ClCompile Include="Emu\Cell\Modules\cellMusicExport.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\Cell\Modules\cellNetAoi.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\Cell\Modules\cellNetCtl.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>