[Scummvm-devel] SCI mem functions

Joost Peters joostp at 7fc1.org
Tue Feb 17 14:38:19 CET 2009


Walter van Niftrik schreef:
> Filippos Karapetis wrote:
>> I mean, is there any particular reason why malloc() and the like would 
>> fail?
>> (normally, it should never fail, unless there's a very nasty leak 
>> somewhere)
> 
> In some cases the memory allocation size might be derived from game data 
> at runtime, which makes errors a lot more likely.

Also, on memory constrained devices (in particular DS), it's likely to 
fail occasionally as well.


Regards,
Joost




More information about the Scummvm-devel mailing list