Add internal Logging support2
Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles.
This commit is contained in:
parent
fcaf8dfb75
commit
a417c2c3b9
4 changed files with 6 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Ryujinx
|
|||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.Title = "RyujiNX";
|
||||
Console.Title = "Ryujinx Console";
|
||||
|
||||
IGalRenderer Renderer = new OpenGLRenderer();
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace Ryujinx.OsHle.Objects
|
|||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Logging.Error("OpenAL Error! PS: Install OpenAL Core SDK!");
|
||||
Logging.Warning("OpenAL Error! PS: Install OpenAL Core SDK!");
|
||||
OpenALInstalled = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -563,7 +563,7 @@ namespace Ryujinx.OsHle.Services
|
|||
NvMap.Kind = Kind;
|
||||
}
|
||||
|
||||
Logging.Info($"NvMapIocAlloc at {NvMap.Address:x16}");
|
||||
Logging.Debug($"NvMapIocAlloc at {NvMap.Address:x16}");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue