Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int32_t sceScreenShotDisableNotification()
- {
- // Don't do anything, to silence notifications
- return 0;
- }
- int32_t sceScreenShotEnableNotification()
- {
- // Don't do anything, to silence notifications
- return 0;
- }
- int32_t sceScreenShotIsDisabled()
- {
- // Always return false, so sceScreenShotEnable()/sceScreenShotDisable() effectively do nothing
- return 0;
- }
- int32_t sceScreenShotIsVshScreenCaptureDisabled()
- {
- // Always return false, to enable screenshots on the PS4's menu
- return 0;
- }
- int32_t sceScreenShotSetOverlayImage(const char*filePath, int32_t offsetx, int32_t offsety)
- {
- // Don't add overlay (May need to add a known transparent one if skipping does nothing)
- return 0;
- }
- int32_t sceVideoRecordingSetInfo(int32_t info, const void *pInfo, size_t infoLen)
- {
- // TODO: Define real sceVideoRecordingSetInfo()
- // Make all permission level changes to zero
- if (info == 0xA007)
- {
- uint32_t level = 0;
- return sceVideoRecordingSetInfo(info, &level, sizeof(level));
- }
- // Clear guards rather than create them
- if (info == 0xA008)
- {
- return sceVideoRecordingSetInfo(info, nullptr, 0);
- }
- // Make copyright info empty
- if (info == 0x0A01)
- {
- char copyright[1] = "\0";
- return sceVideoRecordingSetInfo(info, ©right, sizeof(copyright));
- }
- // Use real function
- return sceVideoRecordingSetInfo(info, &pInfo, infoLen);
- }
Advertisement
Add Comment
Please, Sign In to add comment