mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-27 18:30:56 +00:00
Add a bunch of HLE functions for better reporting.
This commit is contained in:
parent
fca0af8e70
commit
2ef650aa2d
@ -41,6 +41,7 @@ const HLEFunction sceAudiocodec[] = {
|
||||
{0x3A20A200, 0, "sceAudiocodecGetEDRAM"},
|
||||
{0x29681260, 0, "sceAudiocodecReleaseEDRAM"},
|
||||
{0x9D3F790C, 0, "sceAudiocodecCheckNeedMem"},
|
||||
{0x59176a0f, 0, "sceAudiocodec_59176A0F"},
|
||||
};
|
||||
|
||||
void Register_sceAudiocodec()
|
||||
|
@ -304,6 +304,7 @@ const HLEFunction sceHttp[] = {
|
||||
{0x1F0FC3E3,WrapI_IU<sceHttpSetRecvTimeOut>,"sceHttpSetRecvTimeOut"},
|
||||
{0xDB266CCF,WrapI_IUU<sceHttpGetAllHeader>,"sceHttpGetAllHeader"},
|
||||
{0x0282A3BD,WrapI_IU64<sceHttpGetContentLength>,"sceHttpGetContentLength"},
|
||||
{0x7774bf4c,0,"sceHttpAddCookie"},
|
||||
{0x68AB0F86,0,"sceHttpsInitWithPath"},
|
||||
{0xB3FAF831,0,"sceHttpsDisableOption"},
|
||||
{0x2255551E,0,"sceHttpGetNetworkPspError"},
|
||||
|
@ -1936,9 +1936,15 @@ void Register_IoFileMgrForUser() {
|
||||
const HLEFunction StdioForUser[] = {
|
||||
{ 0x172D316E, &WrapU_V<sceKernelStdin>, "sceKernelStdin" },
|
||||
{ 0xA6BAB2E9, &WrapU_V<sceKernelStdout>, "sceKernelStdout" },
|
||||
{ 0xF78BA90A, &WrapU_V<sceKernelStderr>, "sceKernelStderr" },
|
||||
{ 0xF78BA90A, &WrapU_V<sceKernelStderr>, "sceKernelStderr" },
|
||||
{ 0x432D8F5C, &WrapU_U<sceKernelRegisterStdoutPipe>, "sceKernelRegisterStdoutPipe" },
|
||||
{ 0x6F797E03, &WrapU_U<sceKernelRegisterStderrPipe>, "sceKernelRegisterStderrPipe" },
|
||||
{ 0xa46785c9, 0, "sceKernelStdioSendChar" },
|
||||
{ 0x0cbb0571, 0, "sceKernelStdioLseek" },
|
||||
{ 0x3054d478, 0, "sceKernelStdioRead" },
|
||||
{ 0xa3b931db, 0, "sceKernelStdioWrite" },
|
||||
{ 0x924aba61, 0, "sceKernelStdioOpen" },
|
||||
{ 0x9d061c19, 0, "sceKernelStdioClose" },
|
||||
};
|
||||
|
||||
void Register_StdioForUser() {
|
||||
|
@ -1514,6 +1514,8 @@ const HLEFunction ModuleMgrForUser[] =
|
||||
{0xfef27dc1,&WrapU_CU<sceKernelLoadModuleDNAS> , "sceKernelLoadModuleDNAS"},
|
||||
{0x644395e2,0,"sceKernelGetModuleIdList"},
|
||||
{0xf2d8d1b4,&WrapU_CUU<sceKernelLoadModuleNpDrm>,"sceKernelLoadModuleNpDrm"},
|
||||
{0xe4c4211c,0,"ModuleMgrForUser_E4C4211C"},
|
||||
{0xfbe27467,0,"ModuleMgrForUser_FBE27467"},
|
||||
};
|
||||
|
||||
|
||||
|
@ -682,8 +682,11 @@ const HLEFunction sceNetApctl[] = {
|
||||
{0xb3edd0ec, WrapI_V<sceNetApctlTerm>, "sceNetApctlTerm"},
|
||||
{0x2BEFDF23, 0, "sceNetApctlGetInfo"},
|
||||
{0xa3e77e13, 0, "sceNetApctlScanSSID2"},
|
||||
{0xe9b2e5e6, 0, "sceNetApctlScanUser"},
|
||||
{0xf25a5006, 0, "sceNetApctlGetBSSDescIDList2"},
|
||||
{0x2935c45b, 0, "sceNetApctlGetBSSDescEntry2"},
|
||||
{0x04776994, 0, "sceNetApctlGetBSSDescEntryUser"},
|
||||
{0x6bddcb8c, 0, "sceNetApctlGetBSSDescIDListUser"},
|
||||
};
|
||||
|
||||
const HLEFunction sceWlanDrv[] = {
|
||||
|
@ -345,6 +345,7 @@ static const HLEFunction scePower[] = {
|
||||
{0x28E12023,&WrapI_V<scePowerGetBatteryTemp>,"scePowerGetBatteryTemp"},
|
||||
{0x862AE1A6,0,"scePowerGetBatteryElec"},
|
||||
{0x483CE86B,0,"scePowerGetBatteryVolt"},
|
||||
{0xcb49f5ce,0,"scePowerGetBatteryChargeCycle"},
|
||||
{0x23436A4A,0,"scePowerGetInnerTemp"},
|
||||
{0x0CD21B1F,0,"scePowerSetPowerSwMode"},
|
||||
{0x165CE085,0,"scePowerGetPowerSwMode"},
|
||||
@ -370,9 +371,17 @@ static const HLEFunction scePower[] = {
|
||||
{0x34f9c463,WrapU_V<scePowerGetPllClockFrequencyInt>,"scePowerGetPllClockFrequencyInt"},
|
||||
{0xea382a27,WrapF_V<scePowerGetPllClockFrequencyFloat>,"scePowerGetPllClockFrequencyFloat"},
|
||||
{0xebd177d6,WrapU_UUU<scePowerSetClockFrequency>,"scePower_EBD177D6"}, // This is also the same as SetClockFrequency
|
||||
{0x469989ad,WrapU_UUU<scePowerSetClockFrequency>,"scePower_469989ad"}, // This is also the same as SetClockFrequency
|
||||
{0x469989ad,WrapU_UUU<scePowerSetClockFrequency>,"scePower_469989ad"}, // This is also the same as SetClockFrequency
|
||||
{0x545a7f3c,0,"scePower_545A7F3C"}, // TODO: Supposedly the same as SetClockFrequency also?
|
||||
{0xa4e93389,0,"scePower_A4E93389"}, // TODO: Supposedly the same as SetClockFrequency also?
|
||||
{0xa85880d0,WrapU_V<IsPSPNonFat>,"scePower_a85880d0_IsPSPNonFat"},
|
||||
{0x3951af53,0,"scePowerWaitRequestCompletion"},
|
||||
{0x0442d852,0,"scePowerRequestColdReset"},
|
||||
{0xbafa3df0,0,"scePowerGetCallbackMode"},
|
||||
{0xa9d22232,0,"scePowerSetCallbackMode"},
|
||||
{0x23c31ffe,0,"scePowerVolatileMemLock"},
|
||||
{0xfa97a599,0,"scePowerVolatileMemTryLock"},
|
||||
{0xb3edd801,0,"scePowerVolatileMemUnlock"},
|
||||
};
|
||||
|
||||
//890129c in tyshooter looks bogus
|
||||
|
@ -1273,6 +1273,8 @@ const HLEFunction scePsmf[] = {
|
||||
{0x4E624A34, WrapU_UIU<scePsmfGetEPWithId>, "scePsmfGetEPWithId"},
|
||||
{0x7C0E7AC3, WrapU_UUU<scePsmfGetEPWithTimestamp>, "scePsmfGetEPWithTimestamp"},
|
||||
{0x5F457515, WrapU_UU<scePsmfGetEPidWithTimestamp>, "scePsmfGetEPidWithTimestamp"},
|
||||
{0x43ac7dbb, 0, "scePsmf_43AC7DBB"},
|
||||
{0xde78e9fc, 0, "scePsmf_DE78E9FC"},
|
||||
};
|
||||
|
||||
const HLEFunction scePsmfPlayer[] =
|
||||
|
@ -50,6 +50,7 @@ const HLEFunction sceUsb[] =
|
||||
{0x586db82c, WrapU_V<sceUsbActivate>, "sceUsbActivate"},
|
||||
{0xc572a9c8, 0, "sceUsbDeactivate"},
|
||||
{0x5be0e002, 0, "sceUsbWaitState"},
|
||||
{0x616f2b61, 0, "sceUsbWaitStateCB"},
|
||||
{0x1c360735, 0, "sceUsbWaitCancel"},
|
||||
};
|
||||
|
||||
|
@ -579,6 +579,11 @@ const HLEFunction sceUtility[] =
|
||||
{0xf5ce1134, 0, "sceUtilityHtmlViewerShutdownStart"},
|
||||
{0x05afb9e4, 0, "sceUtilityHtmlViewerUpdate"},
|
||||
|
||||
{0x16a1a8d8, 0, "sceUtilityAuthDialogGetStatus"},
|
||||
{0x943cba46, 0, "sceUtilityAuthDialogInitStart"},
|
||||
{0x0f3eeaac, 0, "sceUtilityAuthDialogShutdownStart"},
|
||||
{0x147f7c85, 0, "sceUtilityAuthDialogUpdate"},
|
||||
|
||||
{0xc629af26, &WrapU_U<sceUtilityLoadAvModule>, "sceUtilityLoadAvModule"},
|
||||
{0xf7d8d092, &WrapU_U<sceUtilityUnloadAvModule>, "sceUtilityUnloadAvModule"},
|
||||
|
||||
@ -640,6 +645,32 @@ const HLEFunction sceUtility[] =
|
||||
{0xA084E056, 0, "sceUtilityRssSubscriberUpdate"},
|
||||
{0x2B96173B, 0, "sceUtilityRssSubscriberGetStatus"},
|
||||
|
||||
{0x149a7895, 0, "sceUtilityDNASShutdownStart"},
|
||||
{0xdde5389d, 0, "sceUtilityDNASInitStart"},
|
||||
{0x4a833ba4, 0, "sceUtilityDNASUpdate"},
|
||||
{0xa50e5b30, 0, "sceUtilityDNASGetStatus"},
|
||||
|
||||
{0xe7b778d8, 0, "sceUtilityRssReaderShutdownStart"},
|
||||
{0x81c44706, 0, "sceUtilityRssReaderInitStart"},
|
||||
{0x6f56f9cf, 0, "sceUtilityRssReaderUpdate"},
|
||||
{0x8326ab05, 0, "sceUtilityRssReaderGetStatus"},
|
||||
{0xb0fb7ff5, 0, "sceUtilityRssReaderContStart"},
|
||||
|
||||
{0xbc6b6296, 0, "sceNetplayDialogShutdownStart"},
|
||||
{0x3ad50ae7, 0, "sceNetplayDialogInitStart"},
|
||||
{0x417bed54, 0, "sceNetplayDialogUpdate"},
|
||||
{0xb6cee597, 0, "sceNetplayDialogGetStatus"},
|
||||
|
||||
{0x28d35634, 0, "sceUtility_28D35634"},
|
||||
{0x6f56f9cf, 0, "sceUtility_6F56F9CF"},
|
||||
{0x70267adf, 0, "sceUtility_70267ADF"},
|
||||
{0x81c44706, 0, "sceUtility_81C44706"},
|
||||
{0x8326ab05, 0, "sceUtility_8326AB05"},
|
||||
{0xb0fb7ff5, 0, "sceUtility_B0fB7FF5"},
|
||||
{0xe7b778d8, 0, "sceUtility_E7B778D8"},
|
||||
{0xece1d3e5, 0, "sceUtility_ECE1D3E5"},
|
||||
{0xef3582b2, 0, "sceUtility_EF3582B2"},
|
||||
|
||||
{0x0e0c27af, 0, "sceUtility_0E0C27AF"},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user