From 2f00c98562ed3dbf5ac444eea2cb8ac660bf5e4b Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 13 Jul 2018 18:31:02 +0200 Subject: [PATCH] Try to stream every frame instead of only every 4th --- src/function_patcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/function_patcher.cpp b/src/function_patcher.cpp index b5884a3..5d4e437 100644 --- a/src/function_patcher.cpp +++ b/src/function_patcher.cpp @@ -10,8 +10,8 @@ uint32_t count = 0; DECL_FUNCTION(void, GX2CopyColorBufferToScanBuffer, const GX2ColorBuffer *colorBuffer, int32_t scan_target) { if(gAppStatus == WUPS_APP_STATUS_FOREGROUND) { - // Stream every 4th frame of the Gamepad (targetting 20fps) - if(scan_target == 4 && (count++ % 4 == 0) && colorBuffer != NULL ) { + + if(scan_target == 4 /*&& (count++ % 4 == 0)*/ && colorBuffer != NULL ) { count = 0; streamVideo((GX2ColorBuffer *)colorBuffer); }