Merge pull request #15028 from unknownbrackets/syscall-names

HLE: Add a few syscall names
This commit is contained in:
Henrik Rydgård 2021-10-19 08:00:59 +02:00 committed by GitHub
commit 6ef89c12b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -156,7 +156,7 @@ const HLEFunction sceAudiocodec[] = {
{0X3A20A200, &WrapI_UI<sceAudiocodecGetEDRAM>, "sceAudiocodecGetEDRAM", 'i', "xi"},
{0X29681260, &WrapI_UI<sceAudiocodecReleaseEDRAM>, "sceAudiocodecReleaseEDRAM", 'i', "xi"},
{0X9D3F790C, &WrapI_UI<sceAudiocodecCheckNeedMem>, "sceAudiocodecCheckNeedMem", 'i', "xi"},
{0X59176A0F, nullptr, "sceAudiocodec_59176A0F", '?', "" },
{0X59176A0F, nullptr, "sceAudiocodecAlcExtendParameter", '?', "" },
};
void Register_sceAudiocodec()

View file

@ -965,8 +965,8 @@ void Register_LoadExecForUser()
const HLEFunction LoadExecForKernel[] =
{
{0x4AC57943, &WrapI_I<sceKernelRegisterExitCallback>, "sceKernelRegisterExitCallback", 'i', "i", HLE_KERNEL_SYSCALL },
{0XA3D5E142, nullptr, "LoadExecForKernel_a3d5e142", '?', "" },
{0X28D0D249, &WrapI_CU<sceKernelLoadExec>, "sceKernelLoadExec_28D0D249", 'i', "sx" },
{0XA3D5E142, nullptr, "sceKernelExitVSHVSH", '?', "" },
{0X28D0D249, &WrapI_CU<sceKernelLoadExec>, "sceKernelLoadExecVSHMs2", 'i', "sx" },
{0x6D302D3D, &WrapV_V<sceKernelExitGame>, "sceKernelExitVSHKernel", 'v', "x", HLE_KERNEL_SYSCALL },// when called in game mode it will have the same effect that sceKernelExitGame
};

View file

@ -96,7 +96,7 @@ static const int MPEG_HEADER_BUFFER_MINIMUM_SIZE = 2048;
// For PMP media
static u32 pmp_videoSource = 0; //pointer to the video source (SceMpegLLi structure)
static int pmp_nBlocks = 0; //number of blocks received in the last sceMpegbase_BEA18F91 call
static int pmp_nBlocks = 0; //number of blocks received in the last sceMpegBasePESpacketCopy call
static std::list<AVFrame*> pmp_queue; //list of pmp video frames have been decoded and will be played
static std::list<u32> pmp_ContextList; //list of pmp media contexts
static bool pmp_oldStateLoaded = false; // for dostate
@ -2405,7 +2405,7 @@ void Register_sceMpeg()
// This function is currently only been used for PMP videos
// p pointing to a SceMpegLLI structure consists of video frame blocks.
static u32 sceMpegbase_BEA18F91(u32 p)
static u32 sceMpegBasePESpacketCopy(u32 p)
{
pmp_videoSource = p;
pmp_nBlocks = 0;
@ -2420,13 +2420,13 @@ static u32 sceMpegbase_BEA18F91(u32 p)
p = p + sizeof(SceMpegLLI);
}
DEBUG_LOG(ME, "sceMpegbase_BEA18F91(%08x), received %d block(s)", pmp_videoSource, pmp_nBlocks);
DEBUG_LOG(ME, "sceMpegBasePESpacketCopy(%08x), received %d block(s)", pmp_videoSource, pmp_nBlocks);
return 0;
}
const HLEFunction sceMpegbase[] =
{
{0XBEA18F91, &WrapU_U<sceMpegbase_BEA18F91>, "sceMpegbase_BEA18F91", 'x', "x" },
{0XBEA18F91, &WrapU_U<sceMpegBasePESpacketCopy>, "sceMpegBasePESpacketCopy", 'x', "x" },
{0X492B5E4B, nullptr, "sceMpegBaseCscInit", '?', "" },
{0X0530BE4E, nullptr, "sceMpegbase_0530BE4E", '?', "" },
{0X91929A21, nullptr, "sceMpegBaseCscAvc", '?', "" },

View file

@ -563,7 +563,7 @@ static const HLEFunction scePower[] = {
{0X7F30B3B1, nullptr, "scePowerIdleTimerEnable", '?', "" },
{0X972CE941, nullptr, "scePowerIdleTimerDisable", '?', "" },
{0X27F3292C, nullptr, "scePowerBatteryUpdateInfo", '?', "" },
{0XE8E4E204, nullptr, "scePower_E8E4E204", '?', "" },
{0XE8E4E204, nullptr, "scePowerGetForceSuspendCapacity", '?', "" },
{0XB999184C, nullptr, "scePowerGetLowBatteryCapacity", '?', "" },
{0X87440F5E, &WrapI_V<scePowerIsPowerOnline>, "scePowerIsPowerOnline", 'i', "" },
{0X0AFD0D8B, &WrapI_V<scePowerIsBatteryExist>, "scePowerIsBatteryExist", 'i', "" },
@ -603,7 +603,7 @@ static const HLEFunction scePower[] = {
{0X737486F2, &WrapU_UUU<scePowerSetClockFrequency>, "scePowerSetClockFrequency", 'x', "xxx"},
{0X34F9C463, &WrapU_V<scePowerGetPllClockFrequencyInt>, "scePowerGetPllClockFrequencyInt", 'x', "" },
{0XEA382A27, &WrapF_V<scePowerGetPllClockFrequencyFloat>, "scePowerGetPllClockFrequencyFloat", 'f', "" },
{0XEBD177D6, &WrapU_UUU<scePowerSetClockFrequency>, "scePower_EBD177D6", 'x', "xxx"}, // This is also the same as SetClockFrequency
{0XEBD177D6, &WrapU_UUU<scePowerSetClockFrequency>, "scePowerSetClockFrequency350", 'x', "xxx"}, // This is also the same as SetClockFrequency
{0X469989AD, &WrapU_UUU<scePowerSetClockFrequency>, "scePower_469989ad", 'x', "xxx"}, // This is also the same as SetClockFrequency
{0X545A7F3C, nullptr, "scePower_545A7F3C", '?', "" }, // TODO: Supposedly the same as SetClockFrequency also?
{0XA4E93389, nullptr, "scePower_A4E93389", '?', "" }, // TODO: Supposedly the same as SetClockFrequency also?