X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Finlines.h;h=54de9325b95cb13a5a65dc2ba2f43f8b14b621d6;hb=dadebc1a7525d196d5ee406be7b9d804d5f9945d;hp=ccac797f134401346118ed6e8986692d19044116;hpb=2d556a3eb52664e928014a72ad18edc13281de7e;p=virtualjaguar diff --git a/src/m68000/inlines.h b/src/m68000/inlines.h index ccac797..54de932 100644 --- a/src/m68000/inlines.h +++ b/src/m68000/inlines.h @@ -1,6 +1,8 @@ // // Inline functions used by cpuemu.c // +// by Bernd Schmidt, Thomas Huth, and James Hammons +// // Since inline functions have to be in a header, we have them all defined // here, in one place to make finding them easy. // @@ -153,7 +155,7 @@ STATIC_INLINE uint32_t get_ibyte_prefetch(int32_t o) /* printf ("get_ibyte PC %lx ADDR %lx OFFS %lx V %lx\n", currpc, addr, offs, v); */ return v; #else - return 0; + return get_ibyte(o); #endif } @@ -178,7 +180,7 @@ STATIC_INLINE uint32_t get_iword_prefetch(int32_t o) /* printf ("get_iword PC %lx ADDR %lx OFFS %lx V %lx\n", currpc, addr, offs, v); */ return v; #else - return 0; + return get_iword(o); #endif } @@ -190,7 +192,7 @@ STATIC_INLINE uint32_t get_ilong_prefetch(int32_t o) v |= get_iword_prefetch(o + 2); return v; #else - return 0; + return get_ilong(o); #endif }