Skip to content

Commit 3bf7311

Browse files
authored
Merge pull request #212 from illusion0001/patch-3
Update fliprate and Screenshot Overlay Stub
2 parents 8d15743 + 2aaa5d7 commit 3bf7311

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

include/orbis/ScreenShot.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ void sceScreenShotGetAppInfo();
2626
void sceScreenShotIsDisabled();
2727
// Empty Comment
2828
void sceScreenShotIsVshScreenCaptureDisabled();
29-
// Empty Comment
30-
void sceScreenShotSetOverlayImage();
31-
// Empty Comment
32-
void sceScreenShotSetOverlayImageWithOrigin();
29+
// Sets overlay image with manual positioning
30+
int sceScreenShotSetOverlayImage(const char *overlay_image, int x, int y);
31+
// Sets overlay image with manual positioning
32+
int sceScreenShotSetOverlayImageWithOrigin(const char *overlay_image, int x, int y, int);
3333
// Empty Comment
3434
void sceScreenShotSetParam();
3535

@@ -38,4 +38,4 @@ void sceScreenShotSetParam();
3838

3939
#ifdef __cplusplus
4040
}
41-
#endif
41+
#endif

include/orbis/VideoOut.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ int sceVideoOutRegisterBuffers(int, int, void * const *, int, const OrbisVideoOu
1818
int sceVideoOutUnregisterBuffers(int, int);
1919
int sceVideoOutSubmitFlip(int, int, unsigned int, int64_t);
2020
void sceVideoOutSetBufferAttribute(void *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
21-
int sceVideoOutSetFlipRate(int, int);
21+
// limits framerate in application
22+
// 0 none
23+
// 1 33ms - 30FPS
24+
// 2 50ms - 20FPS
25+
int sceVideoOutSetFlipRate(int handle, int fliprate);
2226
int sceVideoOutAddFlipEvent(OrbisKernelEqueue, int, void *);
2327
int sceVideoOutGetFlipStatus(int, OrbisVideoOutFlipStatus *);
2428
int sceVideoOutIsFlipPending(int);

0 commit comments

Comments
 (0)