mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +00:00
Speed up debug mode.
This commit is contained in:
parent
72a645ec1e
commit
d2776071e4
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user