mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
40 lines
885 B
C++
40 lines
885 B
C++
#include "stdafx.h"
|
|
#include "Emu/System.h"
|
|
#include "Emu/PSP2/ARMv7Module.h"
|
|
|
|
#include "sceAppMgr.h"
|
|
|
|
logs::channel sceAppMgr("sceAppMgr");
|
|
|
|
s32 sceAppMgrReceiveEventNum(vm::ptr<s32> eventNum)
|
|
{
|
|
fmt::throw_exception("Unimplemented" HERE);
|
|
}
|
|
|
|
s32 sceAppMgrReceiveEvent(vm::ptr<SceAppMgrEvent> appEvent)
|
|
{
|
|
fmt::throw_exception("Unimplemented" HERE);
|
|
}
|
|
|
|
s32 sceAppMgrAcquireBgmPort()
|
|
{
|
|
fmt::throw_exception("Unimplemented" HERE);
|
|
}
|
|
|
|
s32 sceAppMgrReleaseBgmPort()
|
|
{
|
|
fmt::throw_exception("Unimplemented" HERE);
|
|
}
|
|
|
|
|
|
#define REG_FUNC(nid, name) REG_FNID(SceAppMgrUser, nid, name)
|
|
|
|
DECLARE(arm_module_manager::SceAppMgr)("SceAppMgrUser", []()
|
|
{
|
|
REG_FUNC(0x47E5DD7D, sceAppMgrReceiveEventNum);
|
|
REG_FUNC(0xCFAD5A3A, sceAppMgrReceiveEvent);
|
|
REG_FUNC(0xF3D65520, sceAppMgrAcquireBgmPort);
|
|
REG_FUNC(0x96CBE713, sceAppMgrReleaseBgmPort);
|
|
//REG_FUNC(0x49255C91, sceAppMgrGetRunStatus);
|
|
});
|