1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 07:29:31 +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 #ifndef NDEBUG
// Debug mode: run CPU a lot slower. // Debug mode: run CPU a lot slower. Actually at close to original advertised MIPS speed.
if constexpr (offset & 15) return; if constexpr (offset & 7) return;
#endif #endif
tick_cpu(); tick_cpu();
} }