]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/debug/opbrowser.cpp
Added logging of GPU/DSP states on exit.
[virtualjaguar] / src / gui / debug / opbrowser.cpp
index 6b3ff3ed0af73398f0d953dff3418f4c14dd581d..5e1d405477b60c05a31df5d3750e81162e8435d2 100644 (file)
@@ -107,9 +107,9 @@ void OPBrowserWindow::DiscoverObjects(uint32_t address)
 
                if (objectType == 3)
                {
-                       // Branch if YPOS < 2047 can be treated as a GOTO, so don't do any
-                       // discovery in that case. Otherwise, have at it:
-                       if ((lo & 0xFFFF) != 0x7FFB)
+                       // Branch if YPOS < 2047 (or YPOS > 0) can be treated as a GOTO, so
+                       // don't do any discovery in that case. Otherwise, have at it:
+                       if (((lo & 0xFFFF) != 0x7FFB) && ((lo & 0xFFFF) != 0x8003))
                                // Recursion needed to follow all links! This does depth-first
                                // recursion on the not-taken objects
                                DiscoverObjects(address + 8);