Try to stream every frame instead of only every 4th

This commit is contained in:
Maschell 2018-07-13 18:31:02 +02:00
parent 034f85b398
commit 2f00c98562
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}