Detect RTSS missing

This commit is contained in:
Kamil Trzciński 2022-11-13 15:51:20 +01:00
parent 10daa36bd6
commit 302dd58551
5 changed files with 50 additions and 33 deletions

View file

@ -10,22 +10,6 @@ namespace PerformanceOverlay
{
ApplicationConfiguration.Initialize();
try
{
foreach (var entry in RTSSSharedMemoryNET.OSD.GetOSDEntries())
{
Trace.WriteLine("Entry: {0}", entry.Owner);
Trace.WriteLine("\t", entry.Text);
using (var newOSD = new OSD("New OSD"))
{
newOSD.Update(entry.Text);
}
}
}
catch(SystemException)
{ }
using (var controller = new Controller())
{
Application.Run();