add back logging

This commit is contained in:
Kelvin Sherlock 2013-05-16 00:10:26 -04:00
parent 0d6874ae08
commit 5293a49d7f

View File

@ -747,6 +747,17 @@ int main(int argc, char **argv)
if (cpuGetStop()) break; // will this also be set by an interrupt?
#ifndef CPU_INSTRUCTION_LOGGING
if (Flags.traceCPU || Flags.traceMacsbug)
{
InstructionLogger();
}
#endif
cycles += cpuExecuteInstruction();
}