X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fsh2.h;h=8e9f3b057947ae9d98a05004feee3183c191f21d;hb=f0d7b1faa17e6e0e21c04db2e1b46ae33a808e11;hp=264bb4e8365931e7a885f4bbd76db678f371688b;hpb=4b315c210a92a7ba0453933f22418584d4e6c2ab;p=picodrive.git diff --git a/cpu/sh2/sh2.h b/cpu/sh2/sh2.h index 264bb4e..8e9f3b0 100644 --- a/cpu/sh2/sh2.h +++ b/cpu/sh2/sh2.h @@ -11,20 +11,20 @@ typedef struct unsigned int gbr, vbr; // 50 unsigned int mach, macl; // 58 - // interpreter stuff - int icount; // 60 cycles left in current timeslice - unsigned int ea; - unsigned int delay; - unsigned int test_irq; - // common - const void *read8_map; // 70 + const void *read8_map; // 60 const void *read16_map; const void **write8_tab; const void **write16_tab; // drc stuff - //void **pc_hashtab; // 80 + int drc_tmp; // 70 + + // interpreter stuff + int icount; // cycles left in current timeslice + unsigned int ea; + unsigned int delay; + unsigned int test_irq; int pending_level; // MAX(pending_irl, pending_int_irq) int pending_irl; @@ -37,7 +37,7 @@ typedef struct unsigned int cycles_done; } SH2; -extern SH2 *sh2; // active sh2 +extern SH2 *sh2; // active sh2. XXX: consider removing int sh2_init(SH2 *sh2, int is_slave); void sh2_finish(SH2 *sh2);