mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
SCI: Reverted r914fe95, and silenced a false positive warning
This commit is contained in:
parent
914fe95903
commit
7cf482e721
@ -1572,7 +1572,7 @@ void ResourceManager::readResourcePatches() {
|
||||
|
||||
int ResourceManager::readResourceMapSCI0(ResourceSource *map) {
|
||||
Common::SeekableReadStream *fileStream = 0;
|
||||
ResourceType type;
|
||||
ResourceType type = kResourceTypeInvalid; // to silence a false positive in MSVC
|
||||
uint16 number, id;
|
||||
uint32 offset;
|
||||
|
||||
@ -1611,7 +1611,6 @@ int ResourceManager::readResourceMapSCI0(ResourceSource *map) {
|
||||
break;
|
||||
|
||||
if (_mapVersion == kResVersionKQ5FMT) {
|
||||
type = convertResType(id >> 11); // FIXME: This is wrong!
|
||||
number = id;
|
||||
} else {
|
||||
type = convertResType(id >> 11);
|
||||
|
Loading…
Reference in New Issue
Block a user