2015-01-29 16:48:05 +01:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
|
|
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
#include "sceAppMgr.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceAppMgrReceiveEventNum(vm::ptr<s32> eventNum)
|
2015-01-29 18:42:51 +01:00
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
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
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceAppMgrAcquireBgmPort()
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceAppMgrReleaseBgmPort()
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-29 18:42:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-01-29 16:48:05 +01:00
|
|
|
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceAppMgr, #name, name)
|
|
|
|
|
|
|
|
|
|
psv_log_base sceAppMgr("SceAppMgr", []()
|
|
|
|
|
{
|
|
|
|
|
sceAppMgr.on_load = nullptr;
|
|
|
|
|
sceAppMgr.on_unload = nullptr;
|
|
|
|
|
sceAppMgr.on_stop = nullptr;
|
2015-06-21 01:04:01 +02:00
|
|
|
sceAppMgr.on_error = nullptr;
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-01-29 18:42:51 +01:00
|
|
|
REG_FUNC(0x47E5DD7D, sceAppMgrReceiveEventNum);
|
|
|
|
|
REG_FUNC(0xCFAD5A3A, sceAppMgrReceiveEvent);
|
|
|
|
|
REG_FUNC(0xF3D65520, sceAppMgrAcquireBgmPort);
|
|
|
|
|
REG_FUNC(0x96CBE713, sceAppMgrReleaseBgmPort);
|
2015-01-29 16:48:05 +01:00
|
|
|
//REG_FUNC(0x49255C91, sceAppMgrGetRunStatus);
|
|
|
|
|
});
|