Add debugging for GPU/Timers
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "spu.h"
|
||||
#include "timers.h"
|
||||
#include <cstdio>
|
||||
#include <imgui.h>
|
||||
Log_SetChannel(System);
|
||||
|
||||
System::System(HostInterface* host_interface, const Settings& settings)
|
||||
@@ -320,3 +321,17 @@ void System::RemoveMedia()
|
||||
{
|
||||
m_cdrom->RemoveMedia();
|
||||
}
|
||||
|
||||
void System::DrawDebugMenus()
|
||||
{
|
||||
m_gpu->DrawDebugMenu();
|
||||
m_spu->DrawDebugMenu();
|
||||
m_timers->DrawDebugMenu();
|
||||
}
|
||||
|
||||
void System::DrawDebugWindows()
|
||||
{
|
||||
m_gpu->DrawDebugWindows();
|
||||
m_spu->DrawDebugWindow();
|
||||
m_timers->DrawDebugWindow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user