mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
VOYEUR: Added extra initialisation for ControlResource objects
This commit is contained in:
parent
09b22952ce
commit
f2b8c51881
@ -1342,6 +1342,7 @@ ControlResource::ControlResource(BoltFilesState &state, const byte *src) {
|
||||
uint32 *idP = (uint32 *)&src[0x10];
|
||||
int count = READ_LE_UINT16(&src[0x36]);
|
||||
|
||||
Common::fill(&_entries[0], &_entries[8], (byte *)nullptr);
|
||||
for (int i = 0; i < count; ++i, ++idP) {
|
||||
uint32 id = READ_LE_UINT32(idP);
|
||||
state._curLibPtr->resolveIt(id, &_entries[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user