Debugger: Made Insert blr toggle between blr and old value

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1326 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2008-11-29 08:38:03 +00:00
parent e168f95257
commit f4cae8c9b7
2 changed files with 35 additions and 2 deletions

View File

@ -22,6 +22,7 @@
#include "Common.h"
#include "Debugger/DebugInterface.h"
#include <vector>
#include <wx/wx.h>
DECLARE_EVENT_TYPE(wxEVT_CODEVIEW_CHANGE, -1);
@ -42,6 +43,13 @@ class CCodeView
u32 GetSelection() {return(selection);}
struct BlrStruct // for IDM_INSERTBLR
{
u32 Address;
u32 OldValue;
};
std::vector<BlrStruct> BlrList;
void Center(u32 addr)
{
curAddress = addr;