mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
d3d9: Allow software rendering selection in UI.
This commit is contained in:
1 parent
ac4ee88c73
commit
841267c083
4 files changed
+7
-14
No files matched your search
+4
-1
@@ -98,10 +98,13 @@ void EmuScreen::bootGame(const std::string &filename) {
|
||||
|
||||
CoreParameter coreParam;
|
||||
coreParam.cpuCore = g_Config.bJit ? CPU_JIT : CPU_INTERPRETER;
|
||||
coreParam.gpuCore = g_Config.bSoftwareRendering ? GPU_SOFTWARE : GPU_GLES;
|
||||
coreParam.gpuCore = GPU_GLES;
|
||||
if (GetGPUBackend() == GPUBackend::DIRECT3D9) {
|
||||
coreParam.gpuCore = GPU_DIRECTX9;
|
||||
}
|
||||
if (g_Config.bSoftwareRendering) {
|
||||
coreParam.gpuCore = GPU_SOFTWARE;
|
||||
}
|
||||
// Preserve the existing graphics context.
|
||||
coreParam.graphicsContext = PSP_CoreParameter().graphicsContext;
|
||||
coreParam.enableSound = g_Config.bEnableSound;
|
||||
|
||||
Reference in new issue
Block a user