mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
this should trigger invalid resource types loads, if that ever happens
svn-id: r26818
This commit is contained in:
parent
e7834656a2
commit
67c9099c34
@ -193,8 +193,8 @@ uint32 ToucheEngine::res_getDataOffset(ResourceType type, int num, uint32 *size)
|
||||
|
||||
const ResourceData *rd = NULL;
|
||||
for (unsigned int i = 0; i < ARRAYSIZE(dataTypesTable); ++i) {
|
||||
rd = &dataTypesTable[i];
|
||||
if (rd->type == type) {
|
||||
if (dataTypesTable[i].type == type) {
|
||||
rd = &dataTypesTable[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user