Skip to content

Commit

Permalink
Switch off Debug mode by default. Fix mistype in debug class
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottRichardsCG committed Jan 15, 2017
1 parent 01bcad8 commit db3abdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define GLOBAL_H

// Debug control
#define DEBUG_MODE_ENABLED
//#define DEBUG_MODE_ENABLED

#ifdef DEBUG_MODE_ENABLED
//#define DEBUG_MODE_ENABLED_CPU
Expand Down
2 changes: 1 addition & 1 deletion src/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void Debug::writeCPU_1_0(ADDRESS pc, BYTE op) {
if (ignoreCmd != 0) {
return;
}
if logFileCPU) {
if (logFileCPU) {
char opname[9];
char tmp[32];
sprintf(tmp, "%s ", opcode_name[op]);
Expand Down

0 comments on commit db3abdb

Please sign in to comment.