src/video/ataricommon/SDL_atarimxalloc.c
branchSDL-1.2
changeset 9564 b87c22915505
parent 6137 4720145f848b
--- a/src/video/ataricommon/SDL_atarimxalloc.c	Fri Mar 27 23:32:20 2015 +0100
+++ b/src/video/ataricommon/SDL_atarimxalloc.c	Fri Apr 17 21:32:45 2015 +0200
@@ -47,6 +47,9 @@
 	if (atari_mxalloc_avail) {
 		return (void *) Mxalloc(size, alloc_type);
 	} else {
+		if (alloc_type==MX_TTRAM) {
+			return NULL;
+		}
 		return (void *) Malloc(size);
 	}
 }