]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/m68000/inlines.h
Added preliminary M68K disassembly browser.
[virtualjaguar] / src / m68000 / inlines.h
index ccac797f134401346118ed6e8986692d19044116..54de9325b95cb13a5a65dc2ba2f43f8b14b621d6 100644 (file)
@@ -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
 }