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