Change to logging - when logging is disabled, the logging functions are now #define'd to nothing, so the compiler ignores the lines that call them completely, seems to slightly speed up the emulator; note that the logging in vid_table.c has not been changed yet, because this file on my local tree currently contains other WIP changes.

This commit is contained in:
OBattler
2018-10-19 00:39:32 +02:00
parent d56df03a53
commit cfc626f111
78 changed files with 658 additions and 590 deletions

View File

@@ -171,7 +171,7 @@ static int opBA_w_a16(uint32_t fetchdat)
break;
default:
pclog("Bad 0F BA opcode %02X\n", rmdat & 0x38);
x386_dynarec_log("Bad 0F BA opcode %02X\n", rmdat & 0x38);
cpu_state.pc = cpu_state.oldpc;
x86illegal();
break;
@@ -213,7 +213,7 @@ static int opBA_w_a32(uint32_t fetchdat)
break;
default:
pclog("Bad 0F BA opcode %02X\n", rmdat & 0x38);
x386_dynarec_log("Bad 0F BA opcode %02X\n", rmdat & 0x38);
cpu_state.pc = cpu_state.oldpc;
x86illegal();
break;
@@ -256,7 +256,7 @@ static int opBA_l_a16(uint32_t fetchdat)
break;
default:
pclog("Bad 0F BA opcode %02X\n", rmdat & 0x38);
x386_dynarec_log("Bad 0F BA opcode %02X\n", rmdat & 0x38);
cpu_state.pc = cpu_state.oldpc;
x86illegal();
break;
@@ -298,7 +298,7 @@ static int opBA_l_a32(uint32_t fetchdat)
break;
default:
pclog("Bad 0F BA opcode %02X\n", rmdat & 0x38);
x386_dynarec_log("Bad 0F BA opcode %02X\n", rmdat & 0x38);
cpu_state.pc = cpu_state.oldpc;
x86illegal();
break;