From 72b9f8f0a0a3d3e946f5438237b4e6ca9478125b Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Fri, 20 Sep 2019 01:59:48 +0200 Subject: Misc fixes (#772) * Update Logger.cs * Update MainWindow.cs * Update SvcTable.cs * Update SvcTable.cs * Update SvcTable.cs --- Ryujinx.Common/Logging/Logger.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Common/Logging') diff --git a/Ryujinx.Common/Logging/Logger.cs b/Ryujinx.Common/Logging/Logger.cs index 95b67c8e..10b1d970 100644 --- a/Ryujinx.Common/Logging/Logger.cs +++ b/Ryujinx.Common/Logging/Logger.cs @@ -39,6 +39,11 @@ namespace Ryujinx.Common.Logging m_Time = Stopwatch.StartNew(); } + public static void RestartTime() + { + m_Time.Restart(); + } + public static void AddTarget(ILogTarget target) { m_LogTargets.Add(target); @@ -134,4 +139,4 @@ namespace Ryujinx.Common.Logging return $"{Class} {Caller}: {Message}"; } } -} \ No newline at end of file +} -- cgit v1.2.3