--- uae/src/missing.c 2018/04/24 17:02:06 1.1.1.4 +++ uae/src/missing.c 2018/04/24 17:05:44 1.1.1.5 @@ -27,7 +27,7 @@ void *xmalloc (size_t n) { void *a = malloc (n); if (a == NULL) { - fprintf (stderr, "virtual memory exhausted\n"); + write_log ("virtual memory exhausted\n"); abort (); } return a; @@ -37,7 +37,7 @@ void *xcalloc (size_t n, size_t size) { void *a = calloc (n, size); if (a == NULL) { - fprintf (stderr, "virtual memory exhausted\n"); + write_log ("virtual memory exhausted\n"); abort (); } return a;