[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:53:29 CEST 2011


On Mon, May 16, 2011 at 12:29 PM, Andre Heider <a.heider at gmail.com> wrote:
> 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.

no, do not try that. instead, i'll try more coffee.
move along, nothing to see here.

:)




More information about the Scummvm-devel mailing list