aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Logging/Logger.cs
diff options
context:
space:
mode:
authorLDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com>2019-09-20 01:59:48 +0200
committergdkchan <gab.dark.100@gmail.com>2019-09-19 20:59:48 -0300
commit72b9f8f0a0a3d3e946f5438237b4e6ca9478125b (patch)
tree7e28a87513ed661e7051667f927fa5a10b3c42dd /Ryujinx.Common/Logging/Logger.cs
parentf17b772c56cf73ac539b4c8c47e0a7c8f29dae5a (diff)
Misc fixes (#772)
* Update Logger.cs * Update MainWindow.cs * Update SvcTable.cs * Update SvcTable.cs * Update SvcTable.cs
Diffstat (limited to 'Ryujinx.Common/Logging/Logger.cs')
-rw-r--r--Ryujinx.Common/Logging/Logger.cs7
1 files changed, 6 insertions, 1 deletions
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
+}