From 5bee81df707fe24ec232c6fdb84574e19605fc43 Mon Sep 17 00:00:00 2001 From: GamingChelsea <68495357+GamingChelsea@users.noreply.github.com> Date: Sun, 12 Jul 2026 01:31:20 +0200 Subject: [PATCH] [GUI] Console Search & Log Path Selector (#74) * Add console search filter and log file path selector * Add console search filter and log file path selector * Increase max width of ConsoleSearchBox --- src/SharpEmu.GUI/GuiSettings.cs | 13 ++- src/SharpEmu.GUI/MainWindow.axaml | 21 +++- src/SharpEmu.GUI/MainWindow.axaml.cs | 161 ++++++++++++++++++++++----- 3 files changed, 161 insertions(+), 34 deletions(-) diff --git a/src/SharpEmu.GUI/GuiSettings.cs b/src/SharpEmu.GUI/GuiSettings.cs index 4af24c3..1a18f34 100644 --- a/src/SharpEmu.GUI/GuiSettings.cs +++ b/src/SharpEmu.GUI/GuiSettings.cs @@ -23,9 +23,20 @@ public sealed class GuiSettings public bool StrictDynlibResolution { get; set; } - /// Mirror emulator output to user/logs/<titleId>-<timestamp>.log. + /// + /// Mirror emulator output to user/logs/<titleId>-<timestamp>.log, if is null. + /// public bool LogToFile { get; set; } + /// If is true it logs to this file path. + public string? LogFilePath { get; set; } + + /// + /// If is false it appends <titleId>-<timestamp> to the filename specified by + /// . Otherwise it uses the exact filename from + /// + public bool OverrideLogFile { get; set; } + /// Loop the selected game's sce_sys/snd0.at9 preview music. public bool PlayTitleMusic { get; set; } = true; diff --git a/src/SharpEmu.GUI/MainWindow.axaml b/src/SharpEmu.GUI/MainWindow.axaml index 3693610..dde0c38 100644 --- a/src/SharpEmu.GUI/MainWindow.axaml +++ b/src/SharpEmu.GUI/MainWindow.axaml @@ -159,13 +159,15 @@ SPDX-License-Identifier: GPL-2.0-or-later - + - -