1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Corrected for the new, non-integral type.

This commit is contained in:
Thomas Harte 2017-07-24 21:05:07 -04:00
parent b3ae920746
commit 9bff787ee1

View File

@ -17,7 +17,7 @@ class ConcreteAllRAMProcessor: public AllRAMProcessor, public Processor<Concrete
ConcreteAllRAMProcessor() : AllRAMProcessor() {}
inline int perform_machine_cycle(const PartialMachineCycle &cycle) {
timestamp_ += cycle.length;
timestamp_ += cycle.length.as_int();
if(!cycle.is_terminal()) {
return 0;
}