]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/debug/memorybrowser.cpp
Minor update to debugger; added autoupdating to CPU/MEM windows.
[virtualjaguar] / src / gui / debug / memorybrowser.cpp
index 745b3a80a86bf2d208e36846639a01f7c503225b..42bdddf95dad196c0b1f54deb5b45026e8dad555 100644 (file)
@@ -7,7 +7,7 @@
 // JLH = James Hammons <jlhamm@acm.org>
 //
 // Who  When        What
-// ---  ----------  -------------------------------------------------------------
+// ---  ----------  -----------------------------------------------------------
 // JLH  08/14/2012  Created this file
 //
 
@@ -37,8 +37,8 @@ MemoryBrowserWindow::MemoryBrowserWindow(QWidget * parent/*= 0*/): QWidget(paren
        // Need to set the size as well...
 //     resize(560, 480);
 
-//     QFont fixedFont("Lucida Console", 8, QFont::Normal);
-       QFont fixedFont("", 8, QFont::Normal);
+       QFont fixedFont("Lucida Console", 8, QFont::Normal);
+//     QFont fixedFont("", 8, QFont::Normal);
        fixedFont.setStyleHint(QFont::TypeWriter);
        text->setFont(fixedFont);
 ////   layout->setSizeConstraint(QLayout::SetFixedSize);
@@ -79,7 +79,7 @@ void MemoryBrowserWindow::RefreshContents(void)
                        if (c == 0x20)
                                sprintf(buf, "&nbsp;");
 
-                       if ((c < 0x20) || ((c > 0x7F) && (c < 0xA0)))
+                       if ((c < 0x20) || (c > 0x7E))
                                sprintf(buf, ".");
 
                        strcat(string, buf);