mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 22:41:18 +12:00
fix: device preference not getting loaded
This commit is contained in:
parent
0b15ad4157
commit
82c2d14828
3 changed files with 4 additions and 4 deletions
|
@ -477,7 +477,7 @@ private:
|
||||||
MetalPerformanceMonitor m_performanceMonitor;
|
MetalPerformanceMonitor m_performanceMonitor;
|
||||||
|
|
||||||
// Metal objects
|
// Metal objects
|
||||||
MTL::Device* m_device;
|
MTL::Device* m_device = nullptr;
|
||||||
MTL::CommandQueue* m_commandQueue;
|
MTL::CommandQueue* m_commandQueue;
|
||||||
|
|
||||||
// Feature support
|
// Feature support
|
||||||
|
|
|
@ -214,7 +214,7 @@ void CemuConfig::Load(XMLConfigParser& parser)
|
||||||
auto graphic = parser.get("Graphic");
|
auto graphic = parser.get("Graphic");
|
||||||
graphic_api = graphic.get("api", kOpenGL);
|
graphic_api = graphic.get("api", kOpenGL);
|
||||||
graphic.get("vkDevice", vk_graphic_device_uuid);
|
graphic.get("vkDevice", vk_graphic_device_uuid);
|
||||||
graphic.get("mtlDevice", mtl_graphic_device_uuid);
|
mtl_graphic_device_uuid = graphic.get("mtlDevice", 0);
|
||||||
vsync = graphic.get("VSync", 0);
|
vsync = graphic.get("VSync", 0);
|
||||||
gx2drawdone_sync = graphic.get("GX2DrawdoneSync", true);
|
gx2drawdone_sync = graphic.get("GX2DrawdoneSync", true);
|
||||||
upscale_filter = graphic.get("UpscaleFilter", kBicubicHermiteFilter);
|
upscale_filter = graphic.get("UpscaleFilter", kBicubicHermiteFilter);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue