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:
parent
72a645ec1e
commit
d2776071e4
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user