From d237ab8ef8935b1f3e84c1fdf91b4fae8c846ad5 Mon Sep 17 00:00:00 2001 From: duckey77 Date: Fri, 13 May 2016 10:55:55 -0700 Subject: [PATCH 1/2] =?UTF-8?q?Set=20Separate=20CPU=20thread=20to=20false.?= =?UTF-8?q?=20=20=20=20=20Not=20really=20needed=20and=20it=20could=20cause?= =?UTF-8?q?=20Graphics=20issues=20in=20some=20cases=20Set=20Show=20FPS=20C?= =?UTF-8?q?ounter=20to=20false.=20=20=20=20=20=20We=20don=E2=80=99t=20show?= =?UTF-8?q?=20on=20screen=20messages,=20so=20we=20don=E2=80=99t=20need=20t?= =?UTF-8?q?o=20calculate=20the=20FPS=20each=20frame?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PPSSPPGameCore.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PPSSPPGameCore.mm b/PPSSPPGameCore.mm index 091d4bc..8634cb2 100644 --- a/PPSSPPGameCore.mm +++ b/PPSSPPGameCore.mm @@ -100,11 +100,11 @@ g_Config.memStickDirectory = [directoryString UTF8String]; g_Config.flash0Directory = [directoryString UTF8String]; g_Config.internalDataDirectory = [directoryString UTF8String]; - g_Config.iShowFPSCounter = true; + g_Config.iShowFPSCounter = false; g_Config.bFrameSkipUnthrottle = false; g_Config.bSeparateIOThread = true; - g_Config.bSeparateCPUThread = true; + g_Config.bSeparateCPUThread = false; g_Config.bSeparateSASThread = true; _coreParam.cpuCore = CPU_JIT; From ce279ff2406bef4f7b35e91e7766109c29cb5ffd Mon Sep 17 00:00:00 2001 From: duckey77 Date: Fri, 13 May 2016 10:57:39 -0700 Subject: [PATCH 2/2] Remove ReapplyGfxState call in NativeRender. It is not needed as to makes ReapplyGfxStateInternal be called twice per frame. We no longer need the GPUCommon.h include. --- NativeApp.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/NativeApp.cpp b/NativeApp.cpp index 9755b11..a554d8d 100644 --- a/NativeApp.cpp +++ b/NativeApp.cpp @@ -41,7 +41,6 @@ #include "gfx_es2/fbo.h" #include "GPU/GLES/GLStateCache.h" -#include "GPU/GPUCommon.h" #include "GPU/GPUState.h" #include "input/input_state.h" @@ -148,8 +147,6 @@ void NativeRender(GraphicsContext *graphicsContext) { glstate.Restore(); - gpu->ReapplyGfxState(); - s64 blockTicks = usToCycles(1000000 / 10); while(coreState == CORE_RUNNING) {