mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-30 08:50:33 +00:00
Merge pull request #15507 from ANR2ME/senseme
Partially fixes SenseMe app
This commit is contained in:
commit
430b89a7b6
@ -44,6 +44,16 @@ static u32 sceHprmIsRemoteExist() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u32 sceHprmRegisterCallback() {
|
||||
ERROR_LOG(HLE, "UNIMPL %s", __FUNCTION__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u32 sceHprmUnregisterCallback() {
|
||||
ERROR_LOG(HLE, "UNIMPL %s", __FUNCTION__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u32 sceHprmPeekLatch(u32 latchAddr) {
|
||||
DEBUG_LOG(HLE,"sceHprmPeekLatch latchAddr %08x",latchAddr);
|
||||
return 0;
|
||||
@ -61,7 +71,8 @@ const HLEFunction sceHprm[] =
|
||||
{0X208DB1BD, &WrapU_V<sceHprmIsRemoteExist>, "sceHprmIsRemoteExist", 'x', "" },
|
||||
{0X7E69EDA4, &WrapU_V<sceHprmIsHeadphoneExist>, "sceHprmIsHeadphoneExist", 'x', "" },
|
||||
{0X219C58F1, &WrapU_V<sceHprmIsMicrophoneExist>, "sceHprmIsMicrophoneExist", 'x', "" },
|
||||
{0XC7154136, nullptr, "sceHprmRegisterCallback", '?', "" },
|
||||
{0XC7154136, &WrapU_V<sceHprmRegisterCallback>, "sceHprmRegisterCallback", 'x', "" },
|
||||
{0xFD7DE6CD, &WrapU_V<sceHprmUnregisterCallback>,"sceHprmUnregisterCallback", 'x', "" },
|
||||
{0X444ED0B7, nullptr, "sceHprmUnregitserCallback", '?', "" }, // Typo.
|
||||
{0X2BCEC83E, &WrapU_U<sceHprmPeekLatch>, "sceHprmPeekLatch", 'x', "x"},
|
||||
{0X40D2F9F0, &WrapU_U<sceHprmReadLatch>, "sceHprmReadLatch", 'x', "x"},
|
||||
|
@ -76,11 +76,18 @@ static s32 sceDdrdb_F013F8BF(u32 pDataPtr, u32 pSigPtr) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// unkPtr might be a pointer to OpenPSID
|
||||
static s32 sceOpenPSID_B29330DE(u32 unkPtr) {
|
||||
ERROR_LOG(HLE, "UNIMPL %s(%08x)", __FUNCTION__, unkPtr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
const HLEFunction sceOpenPSID[] =
|
||||
{
|
||||
{0XC69BEBCE, &WrapI_U<sceOpenPSIDGetOpenPSID>, "sceOpenPSIDGetOpenPSID", 'i', "x" },
|
||||
{0xB29330DE, &WrapI_U<sceOpenPSID_B29330DE>, "sceOpenPSID_B29330DE", 'i', "x" },
|
||||
};
|
||||
|
||||
void Register_sceOpenPSID()
|
||||
|
@ -112,6 +112,7 @@ static const ModuleLoadInfo moduleLoadInfo[] = {
|
||||
ModuleLoadInfo(0x0306, 0x00004000),
|
||||
ModuleLoadInfo(0x0307, 0x00000000),
|
||||
ModuleLoadInfo(0x0308, 0x0003c000, mp4ModuleDeps),
|
||||
ModuleLoadInfo(0x03fe, 0x00000000),
|
||||
ModuleLoadInfo(0x03ff, 0x00000000),
|
||||
ModuleLoadInfo(0x0400, 0x0000c000),
|
||||
ModuleLoadInfo(0x0401, 0x00018000),
|
||||
|
Loading…
Reference in New Issue
Block a user