diff options
author | Torbjörn Andersson | 2007-01-21 17:14:53 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-01-21 17:14:53 +0000 |
commit | 01a5faa6a0ba89b7f774efe33839a077eeaa5f9d (patch) | |
tree | 64ebe05de9e2d099e85f2053b591b8cbdafe80e0 /engines/scumm/insane | |
parent | 44cbf4996b7a26832e566bfada4d186643056234 (diff) | |
download | scummvm-rg350-01a5faa6a0ba89b7f774efe33839a077eeaa5f9d.tar.gz scummvm-rg350-01a5faa6a0ba89b7f774efe33839a077eeaa5f9d.tar.bz2 scummvm-rg350-01a5faa6a0ba89b7f774efe33839a077eeaa5f9d.zip |
Applied my own patch #1635584 (after discussing with Fingolfin) to reduce the
memory usage and number of allocations made by the NUT font renderer.
svn-id: r25155
Diffstat (limited to 'engines/scumm/insane')
-rw-r--r-- | engines/scumm/insane/insane.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/insane/insane.cpp b/engines/scumm/insane/insane.cpp index de5b5f04d3..505ade1453 100644 --- a/engines/scumm/insane/insane.cpp +++ b/engines/scumm/insane/insane.cpp @@ -66,15 +66,15 @@ Insane::Insane(ScummEngine_v7 *scumm) { readFileToMem("minedriv.flu", &_smush_minedrivFlu); readFileToMem("minefite.flu", &_smush_minefiteFlu); _smush_bensgoggNut = new NutRenderer(_vm); - _smush_bensgoggNut->loadFont("bensgogg.nut"); + _smush_bensgoggNut->loadFont("bensgogg.nut", false); _smush_bencutNut = new NutRenderer(_vm); - _smush_bencutNut->loadFont("bencut.nut"); + _smush_bencutNut->loadFont("bencut.nut", false); } _smush_iconsNut = new NutRenderer(_vm); - _smush_iconsNut->loadFont("icons.nut"); + _smush_iconsNut->loadFont("icons.nut", false); _smush_icons2Nut = new NutRenderer(_vm); - _smush_icons2Nut->loadFont("icons2.nut"); + _smush_icons2Nut->loadFont("icons2.nut", false); } Insane::~Insane(void) { |