X-Git-Url: http://git.squeep.com/?p=dcpu16;a=blobdiff_plain;f=dcpu16.c;h=23ef53a41747da7aadb9a51baec085033d5e1bab;hp=51d755dfa7731e4479e136bf85ac5d8bf2f3616a;hb=4185a67f55fb99f34f013b939a8ef9e13454c1e5;hpb=a4e2c238ea47badea198132fc5d9311d1f40ca13 diff --git a/dcpu16.c b/dcpu16.c index 51d755d..23ef53a 100644 --- a/dcpu16.c +++ b/dcpu16.c @@ -693,6 +693,8 @@ void dcpu16_step(struct dcpu16 *d) { if (!d) return; + acct_event_(d, DCPU16_ACCT_EV_CYCLE, d->pc); + /* PC is advanced while decoding the operands by the opcode functions. Things like this could be organized a little better..