[hatari-devel] Import from WinUAE 4.2.x 2019/07/16

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

I noticed these kind of newcpu.c changes in the recent
Hatari WinUAE update:
+#ifndef WINUAE_FOR_HATARI
+			debugmem_flushcache(0, -1);
+#endif


Wouldn't it make more sense to do that in debugmem.h instead,
like this:
+#ifdef WINUAE_FOR_HATARI
+#define debugmem_flushcache(uaecptr, int)
+#else
+void debugmem_flushcache(uaecptr, int);
+#endif

?


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/