summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-26 04:31:21 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-26 04:53:58 +0200
commit1bc0b673aa2fc0510d332286e49f6c8d44568065 (patch)
tree484c8e8bf7355325ef9a94d0d49672de7900cdc6
parentsettings: Correct Linkage member impl location (diff)
downloadyuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.tar
yuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.tar.gz
yuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.tar.bz2
yuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.tar.lz
yuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.tar.xz
yuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.tar.zst
yuzu-1bc0b673aa2fc0510d332286e49f6c8d44568065.zip
-rw-r--r--src/common/logging/backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 6e8e8eb36..d4f27197c 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -108,7 +108,7 @@ public:
using namespace Common::Literals;
// Prevent logs from exceeding a set maximum size in the event that log entries are spammed.
- const auto write_limit = Settings::values.extended_logging ? 1_GiB : 100_MiB;
+ const auto write_limit = Settings::values.extended_logging.GetValue() ? 1_GiB : 100_MiB;
const bool write_limit_exceeded = bytes_written > write_limit;
if (entry.log_level >= Level::Error || write_limit_exceeded) {
if (write_limit_exceeded) {