X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cpu%2Fsh2%2Fcompiler.c;h=2f959d2b89a1dd2b5b5bdf5bd95d926a60da6d6c;hb=d3524932fadaea45167f6feab8b8ef612f6a92de;hp=b55f3e577b1a26512861f03c5eda3eef5e1fb1c8;hpb=97e95a29ac864b2ee7772ea01cb78defd57ea96b;p=picodrive.git diff --git a/cpu/sh2/compiler.c b/cpu/sh2/compiler.c index b55f3e5..2f959d2 100644 --- a/cpu/sh2/compiler.c +++ b/cpu/sh2/compiler.c @@ -61,7 +61,7 @@ } #include "mame/sh2dasm.h" -#include +#include static int insns_compiled, hash_collisions, host_insn_count; #define COUNT_OP \ host_insn_count++ @@ -2991,7 +2991,6 @@ void sh2_drc_wcheck_da(unsigned int a, int val, int cpuid) int sh2_execute(SH2 *sh2c, int cycles) { int ret_cycles; - sh2 = sh2c; // XXX sh2c->cycles_timeslice = cycles;