hle: Add some sceNpMatchingInt functions

This commit is contained in:
scribam 2019-03-24 09:54:44 +01:00 committed by Ivan
parent 32ae7e466c
commit d6bf18eabc
1 changed files with 35 additions and 2 deletions

View File

@ -2,16 +2,26 @@
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
LOG_CHANNEL(sceNpMatchingInt);
s32 sceNpMatchingCancelRequest()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingGetRoomMemberList()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingJoinRoomWithoutGUI()
{
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)
@ -20,22 +30,45 @@ s32 sceNpMatchingJoinRoomGUI(vm::ptr<void> unknown)
return CELL_OK;
}
s32 sceNpMatchingGetRoomListWithoutGUI()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingGetRoomListGUI()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingCancelRequestGUI()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingSendRoomMessage()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
s32 sceNpMatchingCreateRoomWithoutGUI()
{
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
return CELL_OK;
}
DECLARE(ppu_module_manager::sceNpMatchingInt)("sceNpMatchingInt", []()
{
REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequest);
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomMemberList);
REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomWithoutGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListWithoutGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequestGUI);
REG_FUNC(sceNpMatchingInt, sceNpMatchingSendRoomMessage);
REG_FUNC(sceNpMatchingInt, sceNpMatchingCreateRoomWithoutGUI);
});