diff options
author | Yotam Barnoy | 2010-12-22 14:48:51 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-12-22 14:48:51 +0000 |
commit | 6817d4b300f272f7ae51b8e3f5ab245f56d72780 (patch) | |
tree | 0d528759a3e9e22214e36250b514c08d6bca1d38 /backends/plugins/ds | |
parent | c309bbde28a70a23a4d0199244f6db574d7c7189 (diff) | |
download | scummvm-rg350-6817d4b300f272f7ae51b8e3f5ab245f56d72780.tar.gz scummvm-rg350-6817d4b300f272f7ae51b8e3f5ab245f56d72780.tar.bz2 scummvm-rg350-6817d4b300f272f7ae51b8e3f5ab245f56d72780.zip |
PLUGINS: add ELF memory manager to solve fragmentation
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.
svn-id: r55009
Diffstat (limited to 'backends/plugins/ds')
0 files changed, 0 insertions, 0 deletions