mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 11:46:54 +00:00
Off by one.
svn-id: r17138
This commit is contained in:
parent
ef57db4105
commit
7bb8de561b
@ -855,7 +855,7 @@ void ScummEngine::cost_decodeNESCostumeGfx() {
|
||||
byte *patTable = getResourceAddress(rtCostume, v1MMNEScostTables[n][4]);
|
||||
int j = 0;
|
||||
int i = 3;
|
||||
int maxSprites = 256; //patTable[3];
|
||||
int maxSprites = 257; //patTable[3];
|
||||
int len = READ_LE_UINT16(patTable);
|
||||
|
||||
if (maxSprites == 0)
|
||||
|
@ -1583,7 +1583,7 @@ void ScummEngine::setupMusic(int midi) {
|
||||
_musicEngine = new Player_V2A(this);
|
||||
} else if ((_features & GF_AMIGA) && (_version == 3)) {
|
||||
_musicEngine = new Player_V3A(this);
|
||||
} else if ((_features & GF_AMIGA) && (_version < 5)) {
|
||||
} else if (((_features & GF_AMIGA) && (_version < 5)) || (_features & GF_NES)) {
|
||||
_musicEngine = NULL;
|
||||
} else if (((_midiDriver == MD_PCJR) || (_midiDriver == MD_PCSPK)) && ((_version > 2) && (_version < 5))) {
|
||||
_musicEngine = new Player_V2(this, _midiDriver != MD_PCSPK);
|
||||
|
Loading…
Reference in New Issue
Block a user