From aad70d891237f856905cdda080fc856212906039 Mon Sep 17 00:00:00 2001 From: Sacha Date: Tue, 12 Nov 2013 16:20:52 +1000 Subject: [PATCH] Symbian: Support software GPU. It seems to compile properly now. May allow Nokia 500 to run PPSSPP (albeit very slowly). --- GPU/GPUState.cpp | 2 +- Qt/Core.pro | 6 ++---- UI/GameSettingsScreen.cpp | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/GPU/GPUState.cpp b/GPU/GPUState.cpp index 8f13076493..fad43058c7 100644 --- a/GPU/GPUState.cpp +++ b/GPU/GPUState.cpp @@ -53,7 +53,7 @@ bool GPU_Init() { #endif break; case GPU_SOFTWARE: -#if !(defined(__SYMBIAN32__) || defined(_XBOX)) +#ifndef _XBOX SetGPU(new SoftGPU()); #endif break; diff --git a/Qt/Core.pro b/Qt/Core.pro index b566e36f9d..3b6e9c40de 100755 --- a/Qt/Core.pro +++ b/Qt/Core.pro @@ -69,10 +69,8 @@ SOURCES += ../Core/*.cpp \ # Core } # Software GPU -!symbian { - SOURCES += ../GPU/Software/*.cpp - HEADERS += ../GPU/Software/*.h -} +SOURCES += ../GPU/Software/*.cpp +HEADERS += ../GPU/Software/*.h HEADERS += ../Core/*.h \ ../Core/Debugger/*.h \ diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 251f4bd173..be8044c839 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -196,12 +196,10 @@ void GameSettingsScreen::CreateViews() { if (!PSP_IsInited()) dump->SetEnabled(false); -#ifndef __SYMBIAN32__ // We normally use software rendering to debug so put it in debugging. CheckBox *softwareGPU = graphicsSettings->Add(new CheckBox(&g_Config.bSoftwareRendering, gs->T("Software Rendering", "Software Rendering (experimental)"))); if (PSP_IsInited()) softwareGPU->SetEnabled(false); -#endif // Audio ViewGroup *audioSettingsScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT));