summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/debugint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/debugger/debugint.cpp')
-rw-r--r--src/osd/modules/debugger/debugint.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/osd/modules/debugger/debugint.cpp b/src/osd/modules/debugger/debugint.cpp
index e8ac5891766..181b5c149fa 100644
--- a/src/osd/modules/debugger/debugint.cpp
+++ b/src/osd/modules/debugger/debugint.cpp
@@ -17,7 +17,6 @@
#include "debug/debugvw.h"
#include "debug/dvdisasm.h"
#include "debug/dvmemory.h"
-#include "debug/dvstate.h"
#include "debug/debugcon.h"
#include "debug/debugcpu.h"
@@ -151,10 +150,8 @@ class DView_edit
DISABLE_COPYING(DView_edit);
public:
- DView_edit()
- { }
- ~DView_edit()
- { }
+ DView_edit(): active(0), container(NULL) { }
+ ~DView_edit() { }
int active;
render_container * container;
std::string str;
@@ -1131,7 +1128,6 @@ static void render_editor(DView_edit *editor)
x1 += UI_BOX_LR_BORDER;
x2 -= UI_BOX_LR_BORDER;
y1 += UI_BOX_TB_BORDER;
- y2 -= UI_BOX_TB_BORDER;
/* draw the text within it */
editor->container->manager().machine().ui().draw_text_full(editor->container, editor->str.c_str(), x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE,