src/video/ataricommon/SDL_atarimxalloc.c
branchSDL-1.2
changeset 9564 b87c22915505
parent 6137 4720145f848b
equal deleted inserted replaced
9446:d7de8d4232c4 9564:b87c22915505
    45 	}
    45 	}
    46 
    46 
    47 	if (atari_mxalloc_avail) {
    47 	if (atari_mxalloc_avail) {
    48 		return (void *) Mxalloc(size, alloc_type);
    48 		return (void *) Mxalloc(size, alloc_type);
    49 	} else {
    49 	} else {
       
    50 		if (alloc_type==MX_TTRAM) {
       
    51 			return NULL;
       
    52 		}
    50 		return (void *) Malloc(size);
    53 		return (void *) Malloc(size);
    51 	}
    54 	}
    52 }
    55 }