--- uae/src/ncurses.c 2018/04/24 16:49:59 1.1.1.4 +++ uae/src/ncurses.c 2018/04/24 17:18:16 1.1.1.9 @@ -21,13 +21,11 @@ /****************************************************************************/ -#include "config.h" #include "options.h" -#include "threaddep/penguin.h" +#include "threaddep/thread.h" #include "uae.h" #include "memory.h" #include "custom.h" -#include "readcpu.h" #include "newcpu.h" #include "xwin.h" #include "keyboard.h" @@ -461,12 +459,12 @@ int graphics_init(void) int i; if (currprefs.color_mode > 16) - fprintf(stderr, "Bad color mode selected. Using default.\n"), currprefs.color_mode = 0; + write_log ("Bad color mode selected. Using default.\n"), currprefs.color_mode = 0; init_colors(); curses_init(); - fprintf(stderr,"Using %s.\n",longname()); + write_log ("Using %s.\n",longname()); if (debugging) curses_exit (); @@ -499,7 +497,7 @@ int graphics_init(void) break; } if(!gfxvidinfo.bufmem) { - fprintf(stderr,"Not enough memory.\n"); + write_log ("Not enough memory.\n"); return 0; }