X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2FOpLogic.cpp;h=d6b893337e0b07a8252a3a7e7411db6aded306c6;hb=07ceafdb04502be69d06c3b54437fd4e8b88dfbe;hp=b3e14a92191e9047fb08b76fd0eadd9bdb848e36;hpb=ef090115c8ea74938ed44e36a42e4a53d4447a9e;p=picodrive.git diff --git a/cpu/Cyclone/OpLogic.cpp b/cpu/Cyclone/OpLogic.cpp index b3e14a9..d6b8933 100644 --- a/cpu/Cyclone/OpLogic.cpp +++ b/cpu/Cyclone/OpLogic.cpp @@ -119,6 +119,11 @@ int OpBtstImm(int op) if (type==3) ot(" orr r1,r0,r11 ;@ Set bit\n"); ot("\n"); EaWrite(8, 1,tea,size,0x003f,0,0); +#if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES + // this is a bit hacky (device handlers might modify cycles) + if (tea==0x38||tea==0x39) + ot(" ldr r5,[r7,#0x5c] ;@ Load Cycles\n"); +#endif } OpEnd(sea,tea);