mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
move module initialization into a module manager, still has some issues like stopping not working and debug crashing add #idef 0 to modules that aren't in the windows project don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable add secondary project, no real use for it now add some memleak config to the emucore and add asmjit path to rpcs3 small rebase error fixed to get it to compile again add filters for emucore re-add the module manager and static file WIP commit, linker errors abound some more abstraction layer stuff fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers rebasing fix memset undefined and re() usage of se_t before declaration Add wxGUI define by default for cmake builds fix copy constructors of Datetime header fix copy constructors of other wx interface classes remove static declarations of global variables make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls remove duplicate definition for FromUTF8 and ToUTF8 temp changes
72 lines
1.5 KiB
C++
72 lines
1.5 KiB
C++
#pragma once
|
|
|
|
#include <wx/listctrl.h>
|
|
|
|
|
|
|
|
class RSXDebugger : public wxFrame
|
|
{
|
|
u32 m_addr;
|
|
|
|
u32 m_panel_width;
|
|
u32 m_panel_height;
|
|
u32 m_text_width;
|
|
u32 m_text_height;
|
|
|
|
wxTextCtrl* t_addr;
|
|
|
|
u32 m_item_count;
|
|
wxListView* m_list_commands;
|
|
wxListView* m_list_flags;
|
|
wxListView* m_list_programs;
|
|
wxListView* m_list_lightning;
|
|
wxListView* m_list_texture;
|
|
wxListView* m_list_settings;
|
|
|
|
wxPanel* p_buffer_colorA;
|
|
wxPanel* p_buffer_colorB;
|
|
wxPanel* p_buffer_colorC;
|
|
wxPanel* p_buffer_colorD;
|
|
wxPanel* p_buffer_depth;
|
|
wxPanel* p_buffer_stencil;
|
|
wxPanel* p_buffer_tex;
|
|
|
|
uint m_cur_texture;
|
|
|
|
public:
|
|
bool exit;
|
|
RSXDebugger(wxWindow* parent);
|
|
~RSXDebugger()
|
|
{
|
|
exit = true;
|
|
}
|
|
|
|
virtual void OnKeyDown(wxKeyEvent& event);
|
|
virtual void OnChangeToolsAddr(wxCommandEvent& event);
|
|
virtual void OnScrollMemory(wxMouseEvent& event);
|
|
virtual void OnClickBuffer(wxMouseEvent& event);
|
|
|
|
virtual void GoToGet(wxCommandEvent& event);
|
|
virtual void GoToPut(wxCommandEvent& event);
|
|
|
|
virtual void UpdateInformation();
|
|
virtual void GetMemory();
|
|
virtual void GetBuffers();
|
|
virtual void GetFlags();
|
|
virtual void GetPrograms();
|
|
virtual void GetLightning();
|
|
virtual void GetTexture();
|
|
virtual void GetSettings();
|
|
|
|
virtual void SetFlags(wxListEvent& event);
|
|
virtual void SetPrograms(wxListEvent& event);
|
|
virtual void OnSelectTexture(wxListEvent& event);
|
|
|
|
const char* ParseGCMEnum(u32 value, u32 type);
|
|
wxString DisAsmCommand(u32 cmd, u32 count, u32 currentAddr, u32 ioAddr);
|
|
|
|
|
|
bool RSXReady();
|
|
void SetPC(const uint pc) { m_addr = pc; }
|
|
};
|