Re: [hatari-devel] Import from WinUAE 4.2.x 2019/07/16 |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Le 23/07/2019 à 23:25, Eero Tamminen a écrit :
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 ?
Hiyou're right, I already did it for some other debugmem functions in debugmem.h but I forgot to do the same for this one. This is fixed.
Nicolas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |