mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-23 14:19:52 -06:00
Render Profiler in GUI (#854)
* move profiler output to gui * addressed commits, rebased * removed whitespaces
This commit is contained in:
32
Ryujinx.Debugger/Debugger.cs
Normal file
32
Ryujinx.Debugger/Debugger.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Ryujinx.Debugger.UI;
|
||||
|
||||
namespace Ryujinx.Debugger
|
||||
{
|
||||
public class Debugger : IDisposable
|
||||
{
|
||||
public DebuggerWidget Widget { get; set; }
|
||||
|
||||
public Debugger()
|
||||
{
|
||||
Widget = new DebuggerWidget();
|
||||
}
|
||||
|
||||
public void Enable()
|
||||
{
|
||||
Widget.Enable();
|
||||
}
|
||||
|
||||
public void Disable()
|
||||
{
|
||||
Widget.Disable();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Disable();
|
||||
|
||||
Widget.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user