X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fcompiler.c;h=4d7adb3c53b27893679e044fba151edb2fb7cdbe;hb=0219d379de3e8168a94dc4a5f220af04039868fd;hp=106fab50b2ae681ec640371a6a1414fdaf89675d;hpb=8ad1d2adf2feb934a687025402ceed4689337fac;p=picodrive.git diff --git a/cpu/sh2/compiler.c b/cpu/sh2/compiler.c index 106fab5..4d7adb3 100644 --- a/cpu/sh2/compiler.c +++ b/cpu/sh2/compiler.c @@ -3126,6 +3126,7 @@ int sh2_execute(SH2 *sh2c, int cycles) if (ret_cycles > 0) dbg(1, "warning: drc returned with cycles: %d", ret_cycles); + sh2c->sr &= 0x3f3; return sh2c->cycles_timeslice - ret_cycles; }