2020-12-05 13:08:24 +01:00
|
|
|
#include "stdafx.h"
|
2018-02-03 14:07:41 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
|
|
|
|
|
2021-03-05 20:05:37 +01:00
|
|
|
// Temporarily
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
|
|
|
|
#endif
|
|
|
|
|
|
2018-08-25 14:39:00 +02:00
|
|
|
LOG_CHANNEL(sceNpMatchingInt);
|
2018-02-03 14:07:41 +01:00
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingCancelRequest()
|
2019-03-24 09:54:44 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingGetRoomMemberList()
|
2018-02-03 14:07:41 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingJoinRoomWithoutGUI()
|
2019-03-24 09:54:44 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-03 14:07:41 +01:00
|
|
|
// Parameter "unknown" added to distinguish this function
|
|
|
|
|
// from the one in sceNp.cpp which has the same name
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingJoinRoomGUI(vm::ptr<void> unknown)
|
2018-02-03 14:07:41 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingSetRoomInfoNoLimit(vm::ptr<void> unknown)
|
2019-04-05 08:45:49 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingGetRoomListWithoutGUI()
|
2019-03-24 09:54:44 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingGetRoomListGUI()
|
2018-02-03 14:07:41 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingGetRoomInfoNoLimit(vm::ptr<void> unknown)
|
2019-04-05 08:45:49 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingCancelRequestGUI()
|
2019-03-24 09:54:44 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingSendRoomMessage()
|
2018-02-03 14:07:41 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code sceNpMatchingCreateRoomWithoutGUI()
|
2019-03-24 09:54:44 +01:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNpMatchingInt);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-03 14:07:41 +01:00
|
|
|
DECLARE(ppu_module_manager::sceNpMatchingInt)("sceNpMatchingInt", []()
|
|
|
|
|
{
|
2019-03-24 09:54:44 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequest);
|
2018-02-03 14:07:41 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomMemberList);
|
2019-03-24 09:54:44 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomWithoutGUI);
|
2018-02-03 14:07:41 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomGUI);
|
2019-04-05 08:45:49 +02:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingSetRoomInfoNoLimit);
|
2019-03-24 09:54:44 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListWithoutGUI);
|
2018-02-03 14:07:41 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListGUI);
|
2019-04-05 08:45:49 +02:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomInfoNoLimit);
|
2019-03-24 09:54:44 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequestGUI);
|
2018-02-03 14:07:41 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingSendRoomMessage);
|
2019-03-24 09:54:44 +01:00
|
|
|
REG_FUNC(sceNpMatchingInt, sceNpMatchingCreateRoomWithoutGUI);
|
2018-02-03 14:07:41 +01:00
|
|
|
});
|