aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE
diff options
context:
space:
mode:
authorJoshi234 <46032261+Joshi234@users.noreply.github.com>2021-03-19 00:09:33 +0100
committerGitHub <noreply@github.com>2021-03-19 00:09:33 +0100
commita8c945f35fceab2b735afb6b825b327032468e84 (patch)
tree44cd38dd21fa2f516e004bfff214d907c225202d /Ryujinx.HLE
parentdb56b2166d3591eb5d16923b1fcf02733c12420b (diff)
Add items to standard logs (#1942)
* Added more items to log * Update MainWindow.cs * Added log when changing settings * fix formating and add log when toggling vsync and docked * Update Ryujinx/Ui/MainWindow.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx/Ui/MainWindow.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx/Ui/Windows/SettingsWindow.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Fix formating * Change Location according to suggestion * Implemented OpenDataStorageWithProgramIndex * Update IFileSystemProxy.cs * Update IFileSystemProxy.cs * Commited that file on accidant * Revert "Merge branch 'master' of https://github.com/Joshi234/Ryujinx" This reverts commit 375f43045507bc12e743ae1babc6f47bd72987f5, reversing changes made to 672e2c8f7da28160f2f575a16aaa135d232bf655. * Revert "Update IFileSystemProxy.cs" This reverts commit 672e2c8f7da28160f2f575a16aaa135d232bf655. * Update IFileSystemProxy.cs * Update ISystemSettingsServer.cs * removed accidantel addition of IFileSystemProxy.OpenDataStorageWithProgramIndex * Fix formating and add missing stub * Update ISystemSettingsServer.cs * Added more items to log * Update MainWindow.cs * Added log when changing settings * fix formating and add log when toggling vsync and docked * Fix formating * Update Ryujinx/Ui/MainWindow.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx/Ui/MainWindow.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx/Ui/Windows/SettingsWindow.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Change Location according to suggestion * Fix Rebase stuff * Change Logger.Notice to Loger.Info * Update ISystemSettingsServer.cs * Update ISystemSettingsServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com>
Diffstat (limited to 'Ryujinx.HLE')
-rw-r--r--Ryujinx.HLE/HOS/Horizon.cs3
-rw-r--r--Ryujinx.HLE/Switch.cs5
2 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Horizon.cs b/Ryujinx.HLE/HOS/Horizon.cs
index 4da147bf..39764c5b 100644
--- a/Ryujinx.HLE/HOS/Horizon.cs
+++ b/Ryujinx.HLE/HOS/Horizon.cs
@@ -9,6 +9,7 @@ using Ryujinx.Audio.Output;
using Ryujinx.Audio.Renderer.Device;
using Ryujinx.Audio.Renderer.Server;
using Ryujinx.Common;
+using Ryujinx.Common.Logging;
using Ryujinx.Configuration;
using Ryujinx.HLE.FileSystem.Content;
using Ryujinx.HLE.HOS.Font;
@@ -317,6 +318,8 @@ namespace Ryujinx.HLE.HOS
// Reconfigure controllers
Device.Hid.RefreshInputConfig(ConfigurationState.Instance.Hid.InputConfig.Value);
+
+ Logger.Info?.Print(LogClass.Application, $"IsDocked toggled to: {State.DockedMode}");
}
}
diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs
index 865a86d7..ef532b0c 100644
--- a/Ryujinx.HLE/Switch.cs
+++ b/Ryujinx.HLE/Switch.cs
@@ -2,6 +2,7 @@ using LibHac.FsSystem;
using Ryujinx.Audio.Backends.CompatLayer;
using Ryujinx.Audio.Integration;
using Ryujinx.Common;
+using Ryujinx.Common.Logging;
using Ryujinx.Configuration;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Gpu;
@@ -137,6 +138,10 @@ namespace Ryujinx.HLE
// Configure controllers
Hid.RefreshInputConfig(ConfigurationState.Instance.Hid.InputConfig.Value);
ConfigurationState.Instance.Hid.InputConfig.Event += Hid.RefreshInputConfigEvent;
+
+ Logger.Info?.Print(LogClass.Application, $"AudioBackend: {ConfigurationState.Instance.System.AudioBackend.Value}");
+ Logger.Info?.Print(LogClass.Application, $"IsDocked: {ConfigurationState.Instance.System.EnableDockedMode.Value}");
+ Logger.Info?.Print(LogClass.Application, $"Vsync: {ConfigurationState.Instance.Graphics.EnableVsync.Value}");
}
public static IntegrityCheckLevel GetIntegrityCheckLevel()