X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=source%2Fmupen64plus-core%2Fsrc%2Fr4300%2Finterupt.c;h=102d8a8b261a7486616ff68ce8f52097a42bd134;hb=2d26287291331f2b1793a8e76ede08c75654fb7c;hp=32255597cdd54dc65b8cc5eb68e94b3f50be7a67;hpb=451ab91e3827a6384981b3300e2a7000d2eaba58;p=mupen64plus-pandora.git diff --git a/source/mupen64plus-core/src/r4300/interupt.c b/source/mupen64plus-core/src/r4300/interupt.c old mode 100644 new mode 100755 index 3225559..102d8a8 --- a/source/mupen64plus-core/src/r4300/interupt.c +++ b/source/mupen64plus-core/src/r4300/interupt.c @@ -126,7 +126,8 @@ void add_interupt_event(int type, unsigned int delay) if(Count > 0x80000000) SPECIAL_done = 0; if (get_event(type)) { - DebugMessage(M64MSG_WARNING, "two events of type 0x%x in interrupt queue", type); + //DebugMessage(M64MSG_WARNING, "two events of type 0x%x in interrupt queue", type); + return; // silently return... } if (q == NULL) @@ -423,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;