--- previous/src/cpu/compat.h 2018/04/24 19:25:47 1.1 +++ previous/src/cpu/compat.h 2018/04/24 19:33:42 1.1.1.3 @@ -16,30 +16,12 @@ #include "sysconfig.h" -/* This define is here to remove some Amiga specific code when compiling */ -/* It results in ' #if 0 ' code in newcpu.c code */ -#define AMIGA_ONLY 0 - /* this defione is here for newcpu.c compatibility. * In WinUae, it's defined in debug.h" */ #ifndef MAX_LINEWIDTH #define MAX_LINEWIDTH 100 #endif -#define RTAREA_DEFAULT 0xf00000 - -/* Laurent */ -/* here only to allow newcpu.c to compile */ -/* Should be removed when newcpu.c 'll be relooked for hatari only*/ - -// Laurent : I don't know what to do with these variables, so, for now, I've put them here !!! -int kickstart_rom, cloanto_rom; -int config_changed; -int vpos; -int quit_program; // declared as "int quit_program = 0;" in main.c -//WinUae ChangeLog: Improve quitting/resetting behaviour: Move quit_program from GUI -//WinUae ChangeLog: quit_program is now handled in vsync_handler() and m68k_go(). - #ifndef REGPARAM #define REGPARAM #endif @@ -53,7 +35,7 @@ int quit_program; // declared as "int q #endif #ifndef TCHAR -#define TCHAR char +typedef char TCHAR; #endif #ifndef STATIC_INLINE