mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 22:41:18 +12:00
parent
fa004a33c6
commit
770d6cfda7
7 changed files with 41 additions and 105 deletions
|
@ -212,7 +212,7 @@ void CemuConfig::Load(XMLConfigParser& parser)
|
|||
// graphics
|
||||
auto graphic = parser.get("Graphic");
|
||||
graphic_api = graphic.get("api", kOpenGL);
|
||||
graphic.get("device", graphic_device_name);
|
||||
graphic.get("device", graphic_device_uuid);
|
||||
vsync = graphic.get("VSync", 0);
|
||||
gx2drawdone_sync = graphic.get("GX2DrawdoneSync", true);
|
||||
upscale_filter = graphic.get("UpscaleFilter", kBicubicHermiteFilter);
|
||||
|
@ -468,7 +468,7 @@ void CemuConfig::Save(XMLConfigParser& parser)
|
|||
// graphics
|
||||
auto graphic = config.set("Graphic");
|
||||
graphic.set("api", graphic_api);
|
||||
graphic.set("device", graphic_device_name);
|
||||
graphic.set("device", graphic_device_uuid);
|
||||
graphic.set("VSync", vsync);
|
||||
graphic.set("GX2DrawdoneSync", gx2drawdone_sync);
|
||||
//graphic.set("PrecompiledShaders", precompiled_shaders.GetValue());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue