fix a minor "misfeature" in the symbol table code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1952 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-01-20 13:13:03 +00:00
parent 8c997e90d9
commit d6443478b0
3 changed files with 33 additions and 23 deletions

View File

@ -22,31 +22,28 @@
#include "Common.h"
class CRegTable
: public wxGridTableBase
class CRegTable : public wxGridTableBase
{
public:
CRegTable(){;}
int GetNumberCols(void){return 4;}
int GetNumberRows(void){return 16;}
bool IsEmptyCell(int, int){return false;}
wxString GetValue(int, int);
void SetValue(int, int, const wxString &);
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind);
private:
DECLARE_NO_COPY_CLASS(CRegTable);
public:
CRegTable() {}
int GetNumberCols(void){return 4;}
int GetNumberRows(void){return 16;}
bool IsEmptyCell(int, int){return false;}
wxString GetValue(int, int);
void SetValue(int, int, const wxString &);
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind);
private:
DECLARE_NO_COPY_CLASS(CRegTable);
};
class CRegisterView
: public wxGrid
class CRegisterView : public wxGrid
{
public:
CRegisterView(wxWindow* parent, wxWindowID id);
void Update();
u32 m_CachedRegs[32];
bool m_CachedRegHasChanged[32];
public:
CRegisterView(wxWindow* parent, wxWindowID id);
void Update();
u32 m_CachedRegs[32];
bool m_CachedRegHasChanged[32];
};
#endif