Properly fix to get unix compiling it
This commit is contained in:
parent
cacf932939
commit
f4486cc6ad
|
@ -611,7 +611,7 @@ void breakpoint() {
|
||||||
//bbit edited: this is the end of the inserted code
|
//bbit edited: this is the end of the inserted code
|
||||||
|
|
||||||
int debug_tracing;
|
int debug_tracing;
|
||||||
//int logging; //UGETAB: This is turning it into a local variable. Prevents logging.
|
|
||||||
void DebugCycle() {
|
void DebugCycle() {
|
||||||
|
|
||||||
if (scanline == 240)
|
if (scanline == 240)
|
||||||
|
@ -636,6 +636,10 @@ void DebugCycle() {
|
||||||
//mbg 6/30/06 - this was commented out when i got here. i dont understand it anyway
|
//mbg 6/30/06 - this was commented out when i got here. i dont understand it anyway
|
||||||
//if(logging || (hMemView && (EditingMode == 2))) LogInstruction();
|
//if(logging || (hMemView && (EditingMode == 2))) LogInstruction();
|
||||||
|
|
||||||
|
//This needs to be windows only or else the linux build system will fail since logging is declared in a
|
||||||
|
//windows source file
|
||||||
|
#ifdef WIN32
|
||||||
extern volatile int logging; //UGETAB: This is required to be an extern, because the info isn't set here
|
extern volatile int logging; //UGETAB: This is required to be an extern, because the info isn't set here
|
||||||
if(logging) FCEUD_TraceInstruction();
|
if(logging) FCEUD_TraceInstruction();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue