]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Disable get_word_020_prefetchf() when not compiling with JIT
authorThomas Huth <huth@tuxfamily.org>
Fri, 25 Dec 2015 22:41:17 +0000 (23:41 +0100)
committerThomas Huth <huth@tuxfamily.org>
Fri, 25 Dec 2015 22:41:17 +0000 (23:41 +0100)
since this function is only used from the JIT code.

newcpu.cpp

index 6aeae01230aac8bbf171907856c8fa39edf016d5..4005899161d985803cd4adecd769b2c97c08acba 100644 (file)
@@ -4119,7 +4119,7 @@ cont:
 
 #endif
 
-#ifdef CPUEMU_20
+#if defined(CPUEMU_20) && defined(JIT)
 // emulate simple prefetch
 static uae_u16 get_word_020_prefetchf (uae_u32 pc)
 {