projects
/
dcpu16
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support png output, buffered file writing
[dcpu16]
/
dcpu16.c
diff --git
a/dcpu16.c
b/dcpu16.c
index 51d755dfa7731e4479e136bf85ac5d8bf2f3616a..23ef53a41747da7aadb9a51baec085033d5e1bab 100644
(file)
--- 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..