Increase size of _charsetData to 16 * 23 for HE games, fixes subtitle color glitches in Buzzy games

svn-id: r21460
This commit is contained in:
Travis Howell 2006-03-26 09:06:44 +00:00
parent d8004bff51
commit c1bd25617b
3 changed files with 5 additions and 4 deletions

View File

@ -708,9 +708,10 @@ void ScummEngine::saveOrLoad(Serializer *s) {
MKARRAY(ScummEngine, _resourceMapper[0], sleByte, 128, VER(8)),
MKARRAY(ScummEngine, _charsetColorMap[0], sleByte, 16, VER(8)),
// _charsetData grew from 10*16 to 15*16 bytes
// _charsetData grew from 10*16, to 15*16, to 23*16 bytes
MKARRAY_OLD(ScummEngine, _charsetData[0][0], sleByte, 10 * 16, VER(8), VER(9)),
MKARRAY(ScummEngine, _charsetData[0][0], sleByte, 15 * 16, VER(10)),
MKARRAY_OLD(ScummEngine, _charsetData[0][0], sleByte, 15 * 16, VER(10), VER(66)),
MKARRAY(ScummEngine, _charsetData[0][0], sleByte, 23 * 16, VER(10)),
MK_OBSOLETE(ScummEngine, _curExecScript, sleUint16, VER(8), VER(62)),

View File

@ -47,7 +47,7 @@ namespace Scumm {
* only saves/loads those which are valid for the version of the savegame
* which is being loaded/saved currently.
*/
#define CURRENT_VER 66
#define CURRENT_VER 67
/**
* An auxillary macro, used to specify savegame versions. We use this instead

View File

@ -1206,7 +1206,7 @@ public:
byte _charsetColorMap[16];
protected:
byte _charsetColor;
byte _charsetData[15][16];
byte _charsetData[23][16];
int _charsetBufPos;
byte _charsetBuffer[512];