Commit 5bc1f43dbedbb3d38fafaff0f60868377756e02f
authorMax Schwarz <max.schwarz@online.de>
Mon, 26 Oct 2015 11:15:30 +0000 (12:15 +0100)
committerMax Schwarz <max.schwarz@online.de>
Mon, 26 Oct 2015 11:15:30 +0000 (12:15 +0100)
tree9516b278403b3289d955e4a22f723c4cee76dab3
parent2062c2ddea13488d8d766331c5432b5bb2ae1fea
Message:
sim_interrupts: fix FIFO move operation

The variable 'mini' is a FIFO index, not a direct index into the buffer!
Add the current read pointer to fix the operation.

Fixes a regression introduced in 599733f261f94317489c2cc8751fb84fd604e6fa.
simavr/sim/sim_interrupts.c