rpcsx/rpcs3/Emu/PSP2/Modules/sceAppMgr.cpp

40 lines
885 B
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-06-21 01:04:01 +02:00
#include "sceAppMgr.h"
2017-05-13 20:30:37 +02:00
logs::channel sceAppMgr("sceAppMgr");
2016-02-01 22:53:16 +01:00
2015-06-21 01:04:01 +02:00
s32 sceAppMgrReceiveEventNum(vm::ptr<s32> eventNum)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAppMgrReceiveEvent(vm::ptr<SceAppMgrEvent> appEvent)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
s32 sceAppMgrAcquireBgmPort()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
s32 sceAppMgrReleaseBgmPort()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(SceAppMgrUser, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::SceAppMgr)("SceAppMgrUser", []()
{
2015-01-29 18:42:51 +01:00
REG_FUNC(0x47E5DD7D, sceAppMgrReceiveEventNum);
REG_FUNC(0xCFAD5A3A, sceAppMgrReceiveEvent);
REG_FUNC(0xF3D65520, sceAppMgrAcquireBgmPort);
REG_FUNC(0x96CBE713, sceAppMgrReleaseBgmPort);
//REG_FUNC(0x49255C91, sceAppMgrGetRunStatus);
});