mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
Fixed LSL6 hires resources, speech and lip sync work now (thanks to a discussion we had with clone2727)
svn-id: r51287
This commit is contained in:
parent
e3866046af
commit
fed9541f47
@ -164,8 +164,15 @@ ResourceType ResourceManager::convertResType(byte type) {
|
||||
} else {
|
||||
// SCI2.1+
|
||||
#ifdef ENABLE_SCI32
|
||||
if (type < ARRAYSIZE(s_resTypeMapSci21))
|
||||
return s_resTypeMapSci21[type];
|
||||
if (type < ARRAYSIZE(s_resTypeMapSci21)) {
|
||||
// LSL6 hires doesn't have the chunk resource type, to match
|
||||
// the resource types of the lowres version, thus we use the
|
||||
// older resource types here
|
||||
if (g_sci && g_sci->getGameId() == GID_LSL6HIRES)
|
||||
return s_resTypeMapSci0[type];
|
||||
else
|
||||
return s_resTypeMapSci21[type];
|
||||
}
|
||||
#else
|
||||
error("SCI32 support not compiled in");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user