Extend performance overlay to include FT and others

This commit is contained in:
Kamil Trzciński 2022-11-13 14:39:29 +01:00
parent 059d64827f
commit 01f0d6b366
21 changed files with 198 additions and 63 deletions

View file

@ -1,4 +1,5 @@
using RTSSSharedMemoryNET;
using System.Diagnostics;
namespace PerformanceOverlay
{
@ -13,8 +14,13 @@ namespace PerformanceOverlay
{
foreach (var entry in RTSSSharedMemoryNET.OSD.GetOSDEntries())
{
Console.WriteLine("Entry: {0}", entry.Owner);
Console.WriteLine("\t", entry.Text);
Trace.WriteLine("Entry: {0}", entry.Owner);
Trace.WriteLine("\t", entry.Text);
using (var newOSD = new OSD("New OSD"))
{
newOSD.Update(entry.Text);
}
}
}
catch(SystemException)