From 6b784ad949eaadd4d4f03c928dba66fa0a754230 Mon Sep 17 00:00:00 2001 From: Samuliak Date: Wed, 2 Oct 2024 17:28:50 +0200 Subject: [PATCH] log relevant settings --- src/Cafe/CafeSystem.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Cafe/CafeSystem.cpp b/src/Cafe/CafeSystem.cpp index 96e5621d..a6691c3d 100644 --- a/src/Cafe/CafeSystem.cpp +++ b/src/Cafe/CafeSystem.cpp @@ -251,8 +251,13 @@ void InfoLog_PrintActiveSettings() if (ActiveSettings::GetGraphicsAPI() == GraphicAPI::kVulkan) { cemuLog_log(LogType::Force, "Async compile: {}", GetConfig().async_compile.GetValue() ? "true" : "false"); + if (!GetConfig().vk_accurate_barriers.GetValue()) + cemuLog_log(LogType::Force, "Accurate barriers are disabled!"); + } + else if (ActiveSettings::GetGraphicsAPI() == GraphicAPI::kMetal) + { cemuLog_log(LogType::Force, "Fast math: {}", GetConfig().fast_math.GetValue() ? "true" : "false"); - if(!GetConfig().vk_accurate_barriers.GetValue()) + if (!GetConfig().vk_accurate_barriers.GetValue()) cemuLog_log(LogType::Force, "Accurate barriers are disabled!"); } cemuLog_log(LogType::Force, "Console language: {}", stdx::to_underlying(config.console_language.GetValue()));