From 9337e859acead1fb19a3243d7948d433befdaaff Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Sat, 7 Oct 2023 17:28:50 +0300 Subject: [PATCH] force cpu->gpu sync after flipsubmit . this is not probably correct behaviour but neccesary for niko's homebrew --- src/Core/PS4/HLE/Graphics/video_out.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Core/PS4/HLE/Graphics/video_out.cpp b/src/Core/PS4/HLE/Graphics/video_out.cpp index 6e3670bb..1ffdb204 100644 --- a/src/Core/PS4/HLE/Graphics/video_out.cpp +++ b/src/Core/PS4/HLE/Graphics/video_out.cpp @@ -17,6 +17,7 @@ #include "emulator.h" #include #include "graphics_render.h" +#include namespace HLE::Libs::Graphics::VideoOut { @@ -249,7 +250,7 @@ s32 PS4_SYSV_ABI sceVideoOutSubmitFlip(s32 handle, s32 bufferIndex, s32 flipMode LOG_TRACE_IF(log_file_videoout, "sceVideoOutSubmitFlip flip queue is full\n"); return SCE_VIDEO_OUT_ERROR_FLIP_QUEUE_FULL; } - + HLE::Libs::LibSceGnmDriver::sceGnmFlushGarlic();//hackish should be done that neccesary for niko's homebrew return SCE_OK; } s32 PS4_SYSV_ABI sceVideoOutGetFlipStatus(s32 handle, SceVideoOutFlipStatus* status) {