mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
* Small cleanup in cellJpgDec and cellPngDec. * cellPamf added to the project and a few test lines added to cellPamfGetHeaderSize(2). * Improved speed of the Raw Image Preview on the the Memory Viewer. * Now you can click on the shown buffers / textures in the RSX Debugger in order to see them in full size. More settings added to the tabs. * Fixed cellFsStat in order to fix the crash aused by opening directiories. The solution is really *really* ugly. Once vfsDir is ready, I will replace it with something better.
46 lines
1 KiB
C++
46 lines
1 KiB
C++
#pragma once
|
|
|
|
#include <wx/listctrl.h>
|
|
|
|
class MemoryViewerPanel : public wxFrame
|
|
{
|
|
u32 m_addr;
|
|
u32 m_colcount;
|
|
u32 m_rowcount;
|
|
|
|
wxTextCtrl* t_addr;
|
|
wxSpinCtrl* sc_bytes;
|
|
|
|
wxSpinCtrl* sc_img_size_x;
|
|
wxSpinCtrl* sc_img_size_y;
|
|
wxComboBox* cbox_img_mode;
|
|
|
|
wxTextCtrl* t_mem_addr;
|
|
wxTextCtrl* t_mem_hex;
|
|
wxTextCtrl* t_mem_ascii;
|
|
|
|
public:
|
|
bool exit;
|
|
MemoryViewerPanel(wxWindow* parent);
|
|
~MemoryViewerPanel()
|
|
{
|
|
exit = true;
|
|
}
|
|
|
|
virtual void OnChangeToolsAddr(wxCommandEvent& event);
|
|
virtual void OnChangeToolsBytes(wxCommandEvent& event);
|
|
virtual void OnScrollMemory(wxMouseEvent& event);
|
|
virtual void OnShowImage(wxCommandEvent& WXUNUSED(event));
|
|
|
|
virtual void Next(wxCommandEvent& event);
|
|
virtual void Prev(wxCommandEvent& event);
|
|
virtual void fNext(wxCommandEvent& event);
|
|
virtual void fPrev(wxCommandEvent& event);
|
|
|
|
virtual void ShowMemory();
|
|
void SetPC(const uint pc) { m_addr = pc; }
|
|
|
|
//Static methods
|
|
static void ShowImage(wxWindow* parent, u32 addr, int mode, int sizex, int sizey, bool flipv);
|
|
};
|