aboutsummaryrefslogtreecommitdiff
path: root/simon/debug.cpp
diff options
context:
space:
mode:
authorTravis Howell2002-11-05 05:41:52 +0000
committerTravis Howell2002-11-05 05:41:52 +0000
commit223d7a3f24c5ebcd46a52a31885ef9a121bba298 (patch)
treebe7e4d830c5ff1c55648bf13425b3f7f14c1f46a /simon/debug.cpp
parentd2f6c10723ddc522ccc6e10195741f5553c7f6c4 (diff)
downloadscummvm-rg350-223d7a3f24c5ebcd46a52a31885ef9a121bba298.tar.gz
scummvm-rg350-223d7a3f24c5ebcd46a52a31885ef9a121bba298.tar.bz2
scummvm-rg350-223d7a3f24c5ebcd46a52a31885ef9a121bba298.zip
Fix some weird formating
svn-id: r5407
Diffstat (limited to 'simon/debug.cpp')
-rw-r--r--simon/debug.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/simon/debug.cpp b/simon/debug.cpp
index 2dc064f219..ce10fe39a7 100644
--- a/simon/debug.cpp
+++ b/simon/debug.cpp
@@ -414,9 +414,7 @@ void SimonState::dumpSubroutine(Subroutine *sub)
{
SubroutineLine *sl;
- fprintf(_dump_file,
- "\n******************************************\n;Subroutine, ID=%d:\nSUB_%d:\n", sub->id,
- sub->id);
+ fprintf(_dump_file, "\n******************************************\n;Subroutine, ID=%d:\nSUB_%d:\n", sub->id, sub->id);
sl = (SubroutineLine *)((byte *)sub + sub->first);
for (; (byte *)sl != (byte *)sub; sl = (SubroutineLine *)((byte *)sub + sl->next)) {
dumpSubroutineLine(sl, sub);
@@ -626,9 +624,7 @@ void SimonState::dump_vga_file(byte *vga)
while (--count >= 0) {
int id = READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x6 *) p)->id);
- dump_vga_script_always(vga +
- READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x6 *) p)->script_offs),
- id / 100, id);
+ dump_vga_script_always(vga + READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x6 *) p)->script_offs), id / 100, id);
p += sizeof(VgaFile1Struct0x6);
}
}
@@ -645,9 +641,7 @@ void SimonState::dump_vga_file(byte *vga)
while (--c >= 0) {
int id = READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x8 *) b)->id);
- dump_vga_script_always(vga +
- READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x8 *) b)->script_offs),
- id / 100, id);
+ dump_vga_script_always(vga + READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x8 *) b)->script_offs), id / 100, id);
b += sizeof(VgaFile1Struct0x8);
}
}