1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-18 13:29:41 +00:00

Speed up debug mode.

This commit is contained in:
Thomas Harte 2024-03-25 21:31:33 -04:00
parent 72a645ec1e
commit d2776071e4

View File

@ -95,8 +95,8 @@ class ConcreteMachine:
}
#ifndef NDEBUG
// Debug mode: run CPU a lot slower.
if constexpr (offset & 15) return;
// Debug mode: run CPU a lot slower. Actually at close to original advertised MIPS speed.
if constexpr (offset & 7) return;
#endif
tick_cpu();
}