From fa2944898f9e01908e11aae0afe912b3a5f41079 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 19 Jul 2014 17:17:10 -0400 Subject: [PATCH] DolphinWX: Move some public variables to be private in CodeView It's not used outside of the class, and it also shouldn't be modified outside of it either (considering it holds all the blr instructions inserted by the user). --- Source/Core/DolphinWX/Debugger/CodeView.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/Core/DolphinWX/Debugger/CodeView.h b/Source/Core/DolphinWX/Debugger/CodeView.h index aa576e99b8..dd5d9425a3 100644 --- a/Source/Core/DolphinWX/Debugger/CodeView.h +++ b/Source/Core/DolphinWX/Debugger/CodeView.h @@ -45,13 +45,6 @@ public: return m_selection; } - struct BlrStruct // for IDM_INSERTBLR - { - u32 address; - u32 oldValue; - }; - std::vector m_blrList; - void Center(u32 addr) { m_curAddress = addr; @@ -79,6 +72,12 @@ private: void LineTo(wxPaintDC &dc, int x, int y); + struct BlrStruct // for IDM_INSERTBLR + { + u32 address; + u32 oldValue; + }; + std::vector m_blrList; DebugInterface* m_debugger; SymbolDB* m_symbol_db;