[Scummvm-devel] Discworld 2 memory issue

yotam barnoy yotambarnoy at gmail.com
Fri Oct 23 15:55:45 CEST 2009


The PSP testers just discovered an issue with discworld 2's memory
allocations:

Now that the PSP has enough memory to run DW2 due to the plugin system, we
thought that it would be possible to run the game. However, because of the
way the plugins are currently implemented (they're all loaded into memory,
causing other small allocations to be made deep into the heap), it's
impossible to allocate the 10MB needed by DW2 when it starts running even
though those 10MB are present.

Is it possible to split up the allocation into smaller allocations? What is
the reason for having a specialized memory manager for Tinsel anyway? Is
that just the way the code came? Would it be possible to just convert it to
regular mallocs?

Thanks,
Yotam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20091023/cf38a2c2/attachment.html>


More information about the Scummvm-devel mailing list