mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Add new backends to windows commandline.
This commit is contained in:
1 parent
3fb1f4425d
commit
3297d15b4d
1 file changed
+6
@@ -398,9 +398,15 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
if (restOfOption == L"directx9") {
|
||||
g_Config.iGPUBackend = GPU_BACKEND_DIRECT3D9;
|
||||
g_Config.bSoftwareRendering = false;
|
||||
} else if (restOfOption == L"directx11") {
|
||||
g_Config.iGPUBackend = GPU_BACKEND_DIRECT3D11;
|
||||
g_Config.bSoftwareRendering = false;
|
||||
} else if (restOfOption == L"gles") {
|
||||
g_Config.iGPUBackend = GPU_BACKEND_OPENGL;
|
||||
g_Config.bSoftwareRendering = false;
|
||||
} else if (restOfOption == L"vulkan") {
|
||||
g_Config.iGPUBackend = GPU_BACKEND_VULKAN;
|
||||
g_Config.bSoftwareRendering = false;
|
||||
} else if (restOfOption == L"software") {
|
||||
g_Config.iGPUBackend = GPU_BACKEND_OPENGL;
|
||||
g_Config.bSoftwareRendering = true;
|
||||
|
||||
Reference in new issue
Block a user