add an option to disable framebuffer fetch

This commit is contained in:
Samuliak 2025-01-11 10:59:28 +01:00
parent 217e2edda3
commit f4985c481e
No known key found for this signature in database
5 changed files with 21 additions and 3 deletions

View file

@ -338,6 +338,7 @@ void CemuConfig::Load(XMLConfigParser& parser)
#endif
gdb_port = debug.get("GDBPort", 1337);
gpu_capture_dir = debug.get("GPUCaptureDir", "");
framebuffer_fetch = debug.get("FramebufferFetch", true);
// input
auto input = parser.get("Input");
@ -540,7 +541,8 @@ void CemuConfig::Save(XMLConfigParser& parser)
debug.set("CrashDumpUnix", crash_dump.GetValue());
#endif
debug.set("GDBPort", gdb_port);
debug.set("GPUCaptureDir", gpu_capture_dir.GetValue());
debug.set("GPUCaptureDir", gpu_capture_dir);
debug.set("FramebufferFetch", framebuffer_fetch);
// input
auto input = config.set("Input");