mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix sceUtilityScreenshotInitStart parameter
This commit is contained in:
parent
8c33284901
commit
d6de42df93
1 changed files with 4 additions and 4 deletions
|
@ -424,18 +424,18 @@ int sceUtilityNetconfGetStatus()
|
|||
|
||||
//TODO: Implement all sceUtilityScreenshot* for real, it doesn't seem to be complex
|
||||
//but it requires more investigation
|
||||
u32 sceUtilityScreenshotInitStart(u32 unknown1, u32 unknown2, u32 unknown3, u32 unknown4, u32 unknown5, u32 unknown6)
|
||||
u32 sceUtilityScreenshotInitStart(u32 paramAddr)
|
||||
{
|
||||
if (currentDialogActive && currentDialogType != UTILITY_DIALOG_SCREENSHOT)
|
||||
{
|
||||
WARN_LOG(SCEUTILITY, "sceUtilityScreenshotInitStart(%x, %x, %x, %x, %x, %x): wrong dialog type", unknown1, unknown2, unknown3, unknown4, unknown5, unknown6);
|
||||
WARN_LOG(SCEUTILITY, "sceUtilityScreenshotInitStart(%08x): wrong dialog type", paramAddr);
|
||||
return SCE_ERROR_UTILITY_WRONG_TYPE;
|
||||
}
|
||||
currentDialogType = UTILITY_DIALOG_SCREENSHOT;
|
||||
currentDialogActive = true;
|
||||
|
||||
u32 retval = screenshotDialog.Init();
|
||||
WARN_LOG_REPORT(SCEUTILITY, "UNIMPL %08x=sceUtilityScreenshotInitStart(%x, %x, %x, %x, %x, %x)", retval, unknown1, unknown2, unknown3, unknown4, unknown5, unknown6);
|
||||
WARN_LOG_REPORT(SCEUTILITY, "%08x=sceUtilityScreenshotInitStart(%08x)", retval, paramAddr);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -762,7 +762,7 @@ const HLEFunction sceUtility[] =
|
|||
{0x2a2b3de0, &WrapU_U<sceUtilityLoadModule>, "sceUtilityLoadModule"},
|
||||
{0xe49bfe92, &WrapU_U<sceUtilityUnloadModule>, "sceUtilityUnloadModule"},
|
||||
|
||||
{0x0251B134, &WrapU_UUUUUU<sceUtilityScreenshotInitStart>, "sceUtilityScreenshotInitStart"},
|
||||
{0x0251B134, &WrapU_U<sceUtilityScreenshotInitStart>, "sceUtilityScreenshotInitStart"},
|
||||
{0xF9E0008C, &WrapU_V<sceUtilityScreenshotShutdownStart>, "sceUtilityScreenshotShutdownStart"},
|
||||
{0xAB083EA9, &WrapU_U<sceUtilityScreenshotUpdate>, "sceUtilityScreenshotUpdate"},
|
||||
{0xD81957B7, &WrapI_V<sceUtilityScreenshotGetStatus>, "sceUtilityScreenshotGetStatus"},
|
||||
|
|
Loading…
Add table
Reference in a new issue