From 9e8f02b66dabd70cfe6ec425f194119f1cb15542 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 9 Feb 2018 01:43:22 +0100 Subject: Add internal Logging support (#3) * Add internal Logging support Add class Logging. Replace all Console.WriteLine() to looks better. Add informations inside Windows Titles. * Revert "Add internal Logging support" This reverts commit 275d363aaf30011f238010572cfdb320bd7b627f. * Add internal Logging support Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles. * Add internal Logging support2 Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles. --- GLScreen.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'GLScreen.cs') diff --git a/GLScreen.cs b/GLScreen.cs index 3e16f7f1..98281693 100644 --- a/GLScreen.cs +++ b/GLScreen.cs @@ -351,7 +351,9 @@ void main(void) { protected override void OnRenderFrame(FrameEventArgs e) { GL.Viewport(0, 0, 1280, 720); - + + Title = $"Ryujinx Screen - (Vsync: {VSync} - FPS: {1f / e.Time:0})"; + GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); RenderFb(); -- cgit v1.2.3