[Scummvm-devel] Bugs blocking the DS port: SAGA Engine font loading crash, Options menus crash, GMM load/save crash
Andre Heider
a.heider at gmail.com
Mon May 16 12:29:38 CEST 2011
On Mon, May 16, 2011 at 11:43 AM, Neil Millstone
<neil at millstone.demon.co.uk> wrote:
> Sorry, yes, I did do that.
>
> It crashes on the line _fonts.resize(_vm->getFontsCount()), on font.cpp
> line 46.
try reserve() instead of resize() there, which avoids the construction
of the FontData struct. since fonts are loaded anyway in the loop
afterwards that looks like it should work.
Regards,
Andre
More information about the Scummvm-devel
mailing list