mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +00:00
Fixed the debug box tool
svn-id: r3708
This commit is contained in:
parent
393729a5f2
commit
81c2211a9e
17
debug.cpp
17
debug.cpp
@ -116,15 +116,16 @@ bool ScummDebugger::do_command() {
|
||||
num = _s->getNumBoxes();
|
||||
|
||||
printf("Walk matrix:\n");
|
||||
while (*boxm != 0xFF) {
|
||||
printf("%d ", *boxm);
|
||||
i++; *boxm++;
|
||||
if (i >= num) {i = 0; rows++; printf("\n");}
|
||||
for (i=0;i<num;i++)
|
||||
{
|
||||
while(*boxm != 0xFF) {
|
||||
printf ("[%d] ",*boxm);
|
||||
boxm++;
|
||||
}
|
||||
boxm++;
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
if (rows < num)
|
||||
printf("\nERROR: Box Matrix invalid, missing or incomplete: %d row(s)", num - rows);
|
||||
|
||||
|
||||
printf("\nWalk boxes:\n");
|
||||
for (i=0; i<num; i++) {
|
||||
BoxTest(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user