SCI: Turn off logging in debugger.
svn-id: r43268
This commit is contained in:
parent
c1c58769e4
commit
353e9fb36a
1 changed files with 4 additions and 2 deletions
|
@ -311,13 +311,15 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod
|
||||||
void script_debug(EngineState *s, bool bp) {
|
void script_debug(EngineState *s, bool bp) {
|
||||||
// Do we support a separate console?
|
// Do we support a separate console?
|
||||||
|
|
||||||
/* if (sci_debug_flags & _DEBUG_FLAG_LOGGING) { */
|
#if 0
|
||||||
|
if (sci_debug_flags & _DEBUG_FLAG_LOGGING) {
|
||||||
printf("%d: acc=%04x:%04x ", script_step_counter, PRINT_REG(s->r_acc));
|
printf("%d: acc=%04x:%04x ", script_step_counter, PRINT_REG(s->r_acc));
|
||||||
disassemble(s, scriptState.xs->addr.pc, 0, 1);
|
disassemble(s, scriptState.xs->addr.pc, 0, 1);
|
||||||
if (scriptState.seeking == kDebugSeekGlobal)
|
if (scriptState.seeking == kDebugSeekGlobal)
|
||||||
printf("Global %d (0x%x) = %04x:%04x\n", scriptState.seekSpecial,
|
printf("Global %d (0x%x) = %04x:%04x\n", scriptState.seekSpecial,
|
||||||
scriptState.seekSpecial, PRINT_REG(s->script_000->locals_block->_locals[scriptState.seekSpecial]));
|
scriptState.seekSpecial, PRINT_REG(s->script_000->locals_block->_locals[scriptState.seekSpecial]));
|
||||||
/* } */
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if (!scriptState.debugging)
|
if (!scriptState.debugging)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue