Skip to content

Commit

Permalink
make dcpubot actually display cycle counts correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim committed May 22, 2012
1 parent 48e7fbe commit b4a15a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dcpubot
Expand Up @@ -65,7 +65,7 @@ class DCPUBot(irc.IRCClient):
try:
state = cpu.cycle()
# and then add to the cycle_count
cycle_count = state.last_cycles
cycle_count = cpu.cycles
# if there's an illegal opcode (probably 0x0000), stop.
except OpcodeError as k:
break
Expand Down

0 comments on commit b4a15a1

Please sign in to comment.