rpcsx/rpcs3
AnnieL 5250911a40 Fixes #1584
When DirectX 12 is missing, the emulator thinks Vulkan = DirectX 12 because Vulkan takes DX12's place in the box (id=2), and therefore runs DX12 when Vulkan is selected, crashing the emulator with an unhandled exception.

Fixes it by translating renderer string value to the respective enum class before sending the value to config.h instead of just relying on the box's selected id -> cbox_gs_render->GetSelection()

Also changes the order of the renderers (for convinience, now DX12 is id=3) from
Null, OpenGL, DirectX 12, Vulkan
to
Null, OpenGL, Vulkan, DirectX 12
2016-03-17 10:04:03 +00:00
..
cmake_modules Update Cotire to 1.7.3 2015-08-16 23:40:05 +03:00
Crypto For #1355 2016-01-14 19:07:27 +03:00
Emu vulkan: Clear swapchain before usage. 2016-03-15 22:03:24 +01:00
Gui Fixes #1584 2016-03-17 10:04:03 +00:00
Loader PSF Loader simplified 2016-01-27 19:17:01 +03:00
rpcs3qt Qt: Update to match rest of emu. 2014-07-09 02:26:31 +10:00
CMakeLists.txt Support stencil formats 2016-03-10 23:55:25 +03:00
config.cpp File utility improved 2016-01-13 14:12:04 +03:00
config.h Fixes #1584 2016-03-17 10:04:03 +00:00
copy_setup_h.vcxproj DX12 dependencies fix 2015-11-17 21:00:59 +03:00
D3D12GSRender.vcxproj File utility improved 2016-01-13 14:12:04 +03:00
D3D12GSRender.vcxproj.filters Shared PCH (experimental) 2015-12-04 23:37:44 +03:00
D3D12GSRender.vcxproj.user Property sheets, configuration simplified 2015-12-08 20:02:30 +03:00
define_new_memleakdetect.h Fix compile errors in Debug - MemLeak. 2014-09-07 10:43:25 +02:00
emucore.vcxproj build: Add a separate project for ppu llvm recompiler 2016-03-02 14:53:14 +01:00
emucore.vcxproj.filters build: Add a separate project for ppu llvm recompiler 2016-03-02 14:53:14 +01:00
emucore.vcxproj.user Cleanup some files 2014-10-22 01:12:15 +05:30
frame_icon.xpm Fix for icons on OSes other than Windows. Small fixes for travis 2015-07-11 04:46:27 +03:00
git-version.cmake Git version fixed 2015-10-04 23:05:46 +03:00
GLGSRender.vcxproj gl: Use shared surface store (updated) 2016-03-05 12:21:45 +03:00
GLGSRender.vcxproj.filters gl: Use shared surface store (updated) 2016-03-05 12:21:45 +03:00
GLGSRender.vcxproj.user Property sheets, configuration simplified 2015-12-08 20:02:30 +03:00
OpenAL.vcxproj File utility improved 2016-01-13 14:12:04 +03:00
OpenAL.vcxproj.filters Put XAudio and OpenAL files in separate projects. 2016-01-03 21:01:11 +01:00
PPULLVMRecompiler.vcxproj build: Add a separate project for ppu llvm recompiler 2016-03-02 14:53:14 +01:00
PPULLVMRecompiler.vcxproj.filters build: Add a separate project for ppu llvm recompiler 2016-03-02 14:53:14 +01:00
PPULLVMRecompiler.vcxproj.user build: Add a separate project for ppu llvm recompiler 2016-03-02 14:53:14 +01:00
resource.h Add RPCS3 version to logging 2015-09-07 20:13:42 +03:00
restore_new.h Fix compile errors in Debug - MemLeak. 2014-09-07 10:43:25 +02:00
rpcs3.cpp Fix apple build by excluding vk project 2016-03-10 23:55:25 +03:00
rpcs3.h Add support for "test mode" 2015-01-27 17:14:15 +02:00
rpcs3.ico Add Icon on the .exe 2015-06-30 20:36:46 +02:00
rpcs3.rc Make icon show on actual window 2015-07-08 19:16:18 +03:00
rpcs3.vcxproj Rework vertex upload code and fix indexed renders 2016-03-10 23:55:25 +03:00
rpcs3.vcxproj.filters Shared PCH (experimental) 2015-12-04 23:37:44 +03:00
rpcs3.vcxproj.user DX12 fix + rpcs3-tests project 2015-10-21 13:31:29 +03:00
stb_image.cpp File utility improved 2016-01-13 14:12:04 +03:00
stdafx.cpp Minor changes 2015-10-22 22:38:34 +03:00
stdafx.h Build fixed 2016-03-13 19:39:54 +02:00
stdafx_d3d12.h Shared PCH (experimental) 2015-12-04 23:37:44 +03:00
stdafx_gui.h File utility improved 2016-01-13 14:12:04 +03:00
VKGSRender.vcxproj vulkan: Use d24_u8 or d32_u8 depending on hw support. 2016-03-12 15:56:23 +01:00
VKGSRender.vcxproj.filters vulkan: Use d24_u8 or d32_u8 depending on hw support. 2016-03-12 15:56:23 +01:00
XAudio.vcxproj File utility improved 2016-01-13 14:12:04 +03:00
XAudio.vcxproj.filters File utility improved 2016-01-13 14:12:04 +03:00