From 372ac5d160b62516e18970e3c236d25baec264f4 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Sat, 7 Oct 2023 17:25:08 +0300 Subject: [PATCH] implemented sceVideoOutIsFlipPending --- src/Core/PS4/HLE/Graphics/video_out.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Core/PS4/HLE/Graphics/video_out.cpp b/src/Core/PS4/HLE/Graphics/video_out.cpp index a78cf03c..6e3670bb 100644 --- a/src/Core/PS4/HLE/Graphics/video_out.cpp +++ b/src/Core/PS4/HLE/Graphics/video_out.cpp @@ -221,9 +221,10 @@ s32 PS4_SYSV_ABI sceVideoOutSetFlipRate(s32 handle, s32 rate) { return SCE_OK; } s32 PS4_SYSV_ABI sceVideoOutIsFlipPending(s32 handle) { - // BREAKPOINT(); - PRINT_DUMMY_FUNCTION_NAME(); - return 0; + PRINT_FUNCTION_NAME(); + auto* videoOut = Singleton::Instance(); + s32 pending = videoOut->getCtx(handle)->m_flip_status.flipPendingNum; + return pending; } s32 PS4_SYSV_ABI sceVideoOutSubmitFlip(s32 handle, s32 bufferIndex, s32 flipMode, s64 flipArg) { PRINT_FUNCTION_NAME();