X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=dcpu16.c;h=23ef53a41747da7aadb9a51baec085033d5e1bab;hb=05eb5ecfb1611ebd0930c3195a5e55f929571cbd;hp=51d755dfa7731e4479e136bf85ac5d8bf2f3616a;hpb=a4e2c238ea47badea198132fc5d9311d1f40ca13;p=dcpu16 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..