[Scummvm-devel] SID player binary size

Neil Millstone neil at millstone.demon.co.uk
Fri Feb 26 18:52:07 CET 2010


Hi,

I've been building the DS port of ScummVM in trunk ahead of the 1.1.0 
release, and found the binary size had increased by about 90Kb.  This 
increase is a little too much for the DS's piddly 4Mb RAM to handle.

The increase seems to be mostly down to a large 64Kb table of global 
data inside /sound/softsynth/wave6581.cpp, part of the new SID emulation 
for C64 games.  The emulation sounds like a great idea, and looks cool, 
but in order to reduce the binary size, I've committed a DISABLE_SID 
define which removes the SID emulation and associated code, and enabled 
the define for the DS port (it's revision #48137).  If it's possible for 
SID emulation to be enabled with a smaller table, or no table, I will 
add it to the DS version of ScummVM, but at the moment, I think I'll go 
with temporarily disabling it for this release.

Other than that, all seems fine so far.

Thanks,

- Neil






More information about the Scummvm-devel mailing list