Add sceNpMatchingInt

This commit is contained in:
scribam 2018-02-03 14:07:41 +01:00 committed by Ani
parent 6001808174
commit cd9bfba790
5 changed files with 50 additions and 3 deletions

View File

@ -0,0 +1,41 @@
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
namespace vm { using namespace ps3; }
logs::channel sceNpMatchingInt("sceNpMatchingInt");
s32 sceNpMatchingGetRoomMemberList()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
// Parameter "unknown" added to distinguish this function
// from the one in sceNp.cpp which has the same name
s32 sceNpMatchingJoinRoomGUI(vm::ptr<void> unknown)
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingGetRoomListGUI()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingSendRoomMessage()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
DECLARE(ppu_module_manager::sceNpMatchingInt)("sceNpMatchingInt", []()
{
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomMemberList);
REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingSendRoomMessage);
});

View File

@ -244,6 +244,7 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
&ppu_module_manager::sceNp2,
&ppu_module_manager::sceNpClans,
&ppu_module_manager::sceNpCommerce2,
&ppu_module_manager::sceNpMatchingInt,
&ppu_module_manager::sceNpSns,
&ppu_module_manager::sceNpTrophy,
&ppu_module_manager::sceNpTus,

View File

@ -255,6 +255,7 @@ public:
static const ppu_static_module sceNp2;
static const ppu_static_module sceNpClans;
static const ppu_static_module sceNpCommerce2;
static const ppu_static_module sceNpMatchingInt;
static const ppu_static_module sceNpSns;
static const ppu_static_module sceNpTrophy;
static const ppu_static_module sceNpTus;

View File

@ -250,6 +250,7 @@
<ClCompile Include="Emu\Cell\Modules\sceNp2.cpp" />
<ClCompile Include="Emu\Cell\Modules\sceNpClans.cpp" />
<ClCompile Include="Emu\Cell\Modules\sceNpCommerce2.cpp" />
<ClCompile Include="Emu\Cell\Modules\sceNpMatchingInt.cpp" />
<ClCompile Include="Emu\Cell\Modules\sceNpSns.cpp" />
<ClCompile Include="Emu\Cell\Modules\sceNpTrophy.cpp" />
<ClCompile Include="Emu\Cell\Modules\sceNpTus.cpp" />

View File

@ -587,6 +587,9 @@
<ClCompile Include="Emu\Cell\Modules\sceNpCommerce2.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\Cell\Modules\sceNpMatchingInt.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
<ClCompile Include="Emu\Cell\Modules\sceNpSns.cpp">
<Filter>Emu\Cell\Modules</Filter>
</ClCompile>
@ -934,12 +937,12 @@
</ClCompile>
<ClCompile Include="Emu\Cell\lv2\sys_net.cpp">
<Filter>Emu\Cell\lv2</Filter>
</ClCompile>
</ClCompile>
<ClCompile Include="Emu\Io\PadHandler.cpp">
<Filter>Emu\Io</Filter>
</ClCompile>
</ClCompile>
<ClCompile Include="Emu\RSX\overlays.cpp">
<Filter>Emu\GPU\RSX</Filter>
<Filter>Emu\GPU\RSX</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>