X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=mupen64plus-pandora.git;a=blobdiff_plain;f=source%2Fmupen64plus-core%2Fsrc%2Fr4300%2Finterupt.c;h=102d8a8b261a7486616ff68ce8f52097a42bd134;hp=f3f185c33a1370fdd25b8300727c2f4ed891ba59;hb=2d26287291331f2b1793a8e76ede08c75654fb7c;hpb=01d8ca6fb06a8261602900cab63c61e5a1b143c9 diff --git a/source/mupen64plus-core/src/r4300/interupt.c b/source/mupen64plus-core/src/r4300/interupt.c index f3f185c..102d8a8 100755 --- a/source/mupen64plus-core/src/r4300/interupt.c +++ b/source/mupen64plus-core/src/r4300/interupt.c @@ -424,9 +424,9 @@ void gen_interupt(void) case COMPARE_INT: remove_interupt_event(); - Count+=2; + Count+=count_per_op; add_interupt_event_count(COMPARE_INT, Compare); - Count-=2; + Count-=count_per_op; Cause = (Cause | 0x8000) & 0xFFFFFF83; if ((Status & 7) != 1) return;