aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorxbzk <xbzk@eden-emu.dev>2026-08-31 04:22:15 +0200
committercrueter <crueter@eden-emu.dev>2026-08-31 04:22:15 +0200
commitb7f0f98519b273e161561de1060fb3446d1b3d17 (patch)
tree15a88063401e29e04ae82fa05f8a3fc0797e74de /src/yuzu
parent7fda6dde73ab9fa1eab40d43c90720a1d9ba054f (diff)
[android] expose log filter setting (#4327)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Takes log filter to android and fixes qt "loads after setting, but ignore in next runs" issue Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4327 Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/main_window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp
index 934879ade5..27b018d9d9 100644
--- a/src/yuzu/main_window.cpp
+++ b/src/yuzu/main_window.cpp
@@ -359,6 +359,10 @@ MainWindow::MainWindow(bool has_broken_vulkan)
Common::FS::CreateEdenPaths();
this->config = std::make_unique<QtConfig>();
+ Common::Log::Filter filter;
+ filter.ParseFilterString(Settings::values.log_filter.GetValue());
+ Common::Log::SetGlobalFilter(filter);
+
if (user_data_migrator.migrated) {
// Sort-of hack whereby we only move the old dir if it's a subfolder of the user dir