Implement the configuration of how a breakpoint is added in the memory window

There might be a better way to highlight the options when adding the memory check, but for now, this works and the breakpoint list reports the right settings anyway.
This commit is contained in:
aldelaro5
2016-08-18 16:08:26 -04:00
committed by aldelaro5
parent da55d2a381
commit 72f1d99634
4 changed files with 44 additions and 2 deletions

View File

@ -35,6 +35,13 @@ public:
Refresh();
}
void SetMemCheckOptions(bool read, bool write, bool log)
{
memCheckRead = read;
memCheckWrite = write;
memCheckLog = log;
}
private:
void OnPaint(wxPaintEvent& event);
void OnMouseDownL(wxMouseEvent& event);
@ -60,6 +67,10 @@ private:
int curAddress;
MemoryDataType dataType;
bool memCheckRead;
bool memCheckWrite;
bool memCheckLog;
enum EViewAsType
{
VIEWAS_ASCII = 0,