mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 08:51:05 -04:00
8c8a97af65
* feat: added ffmepg as dependency * feat: wip decoder video * feat: some perf and cleanup * feat: added generic MPEG stream notification * feat: CMakeLists.txt in ps2xStudio to configure SDL2 build options for static linking. fix: fix ffmpeg setup for linux fix: now MPEG decoder now identify that movie has ended and can play again anytime feat: better audio stub to not block games * feat: fix expansion test * feat: foo * a * feat: finally added a helper to to prevent thread starvation * feat: added basic vu0 code execution * feat: added yield Guest Execution After Wake to prevent deadlock * feat: added options on cmake for logs feat: better input for keyboard pad * feat: small corrections like top and itop vu branches etc * feat: changes * feat: working feature * feat: fatal frame iop * feat: test fix feat: z buffer fix * fix: gix GsPutIMR IMR * feat: added rl imgui * feat: added helper to get snapshot * feat: added debug panel consuming snapshots * feat: added pad snapshot feat: added RCP debug events * feat: final cleanup from old code * feat: added EE timer counter feat: applyed sound driver for Lotr feat: better check for sound driver compat layout feat: enquee and cosumed DMa cause feat: added Pad execCMd feat: update GS vsync signal flag feat: custom IOPs for LotR * feat: small cleanups * fix: fix wrong import
26 lines
567 B
C++
26 lines
567 B
C++
#ifndef PS2_DEBUG_PANEL_H
|
|
#define PS2_DEBUG_PANEL_H
|
|
|
|
class PS2Runtime;
|
|
|
|
class PS2DebugPanel
|
|
{
|
|
public:
|
|
void initialize();
|
|
void shutdown();
|
|
void draw(PS2Runtime &runtime);
|
|
|
|
bool isVisible() const { return m_visible; }
|
|
void setVisible(bool visible) { m_visible = visible; }
|
|
void toggleVisible() { m_visible = !m_visible; }
|
|
|
|
private:
|
|
bool m_initialized = false;
|
|
bool m_visible = true;
|
|
bool m_showRegisters = true;
|
|
unsigned int m_memoryAddress = 0x00100000u;
|
|
unsigned int m_memoryBytes = 0x100u;
|
|
};
|
|
|
|
#endif // PS2_DEBUG_PANEL_H
|