Added error message in LOCAL_GetBlock().
This commit is contained in:
parent
5d6aacc1d5
commit
9aa748cb2a
|
@ -909,6 +909,8 @@ notify_done:
|
||||||
if ((pInfo->notify) && (LOCAL_CallTo16_word_www(pInfo->notify, LN_OUTOFMEM, ds - 20, size))) /* FIXME: "size" correct ? (should indicate bytes needed) */
|
if ((pInfo->notify) && (LOCAL_CallTo16_word_www(pInfo->notify, LN_OUTOFMEM, ds - 20, size))) /* FIXME: "size" correct ? (should indicate bytes needed) */
|
||||||
goto notify_done;
|
goto notify_done;
|
||||||
#endif
|
#endif
|
||||||
|
ERR( "not enough space in %s heap %04x for %d bytes\n",
|
||||||
|
get_heap_name(ds), ds, size );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
ptr = MapSL( MAKESEGPTR( ds, 0 ) );
|
ptr = MapSL( MAKESEGPTR( ds, 0 ) );
|
||||||
|
|
Loading…
Reference in New Issue