X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Ffame%2Ffamec.c;h=1aba794f3f889e1458cb2d085b5661b28ec3c2ca;hb=3e5b912cf8820efc2c74e8f639a1c29cd4f68b75;hp=616027c2a58031972308c015ae58b19b41296e29;hpb=12da51c27a8d1c1205d8f0f01bbc4814c46e79ce;p=picodrive.git diff --git a/cpu/fame/famec.c b/cpu/fame/famec.c index 616027c..1aba794 100644 --- a/cpu/fame/famec.c +++ b/cpu/fame/famec.c @@ -929,6 +929,7 @@ famec_Exec: u32 line; m68kcontext.io_cycle_counter = cycles_needed; cycles_needed = 0; + if (m68kcontext.io_cycle_counter <= 0) goto famec_End; line=interrupt_chk__(); if (line>0) {