summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/debugint.cpp
diff options
context:
space:
mode:
author mahlemiut <bsr@xnet.co.nz>2015-12-19 21:35:34 +1300
committer mahlemiut <bsr@xnet.co.nz>2015-12-19 21:36:34 +1300
commit4facaf6c24e53a17be232c5c3cab31ecca2d0335 (patch)
treeee5b10a58d9c3e0e1cfb110367136f4cfcfe7082 /src/osd/modules/debugger/debugint.cpp
parent85d74eb2c9da9f93bcc822fc12835f372603da2a (diff)
Stop internal debugger windows from drawing space characters, speeds rendering up quite a bit.
Diffstat (limited to 'src/osd/modules/debugger/debugint.cpp')
-rw-r--r--src/osd/modules/debugger/debugint.cpp24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/osd/modules/debugger/debugint.cpp b/src/osd/modules/debugger/debugint.cpp
index a9f77f79422..009d4db9f0c 100644
--- a/src/osd/modules/debugger/debugint.cpp
+++ b/src/osd/modules/debugger/debugint.cpp
@@ -757,20 +757,18 @@ static void dview_draw(DView *dv)
UINT16 s = ' ';
unsigned char v = viewdata->byte;
-// if (v != ' ')
- {
- if(v < 128) {
- s = v;
- } else {
- s = 0xc0 | (v>>6);
- s |= (0x80 | (v & 0x3f));
- }
- map_attr_to_fg_bg(viewdata->attrib, &fg, &bg);
- if (bg != bg_base)
- dview_draw_box(dv, RECT_DVIEW_CLIENT, xx, yy,
- debug_font_width, debug_font_height, bg);
- dview_draw_char(dv, RECT_DVIEW_CLIENT, xx, yy, debug_font_height, fg, s);
+ if(v < 128) {
+ s = v;
+ } else {
+ s = 0xc0 | (v>>6);
+ s |= (0x80 | (v & 0x3f));
}
+ map_attr_to_fg_bg(viewdata->attrib, &fg, &bg);
+ if (bg != bg_base)
+ dview_draw_box(dv, RECT_DVIEW_CLIENT, xx, yy,
+ debug_font_width, debug_font_height, bg);
+ if (v != ' ')
+ dview_draw_char(dv, RECT_DVIEW_CLIENT, xx, yy, debug_font_height, fg, s);
xx += debug_font_width;
viewdata++;
}