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

Set proper initial value for number_of_cycles_.

This commit is contained in:
Thomas Harte 2017-05-31 19:55:51 -04:00
parent 5ff73faf48
commit d3b74cbc91

View File

@ -640,7 +640,8 @@ template <class T> class Processor: public MicroOpScheduler<MicroOp> {
a_(0xff),
interrupt_mode_(0),
iff1_(false),
iff2_(false) {
iff2_(false),
number_of_cycles_(0) {
set_flags(0xff);
assemble_base_page(base_page_, hl_, false, cb_page_);