wine-wine/dlls/dmloader
Alistair Leslie-Hughes 4e52083781 dmloader: Stop after find first matching object.
This stops a crash in Legoland on startup when finding cached objects.
Placing a break in each of the if's causes the wrong object to be loaded.

The help states it looks at each type in order. So, we might have to loop
the cache multiple times to ensure that when an object has flag DMUS_OBJ_OBJECT,
it's preferred over a DMUS_OBJ_FILENAME | DMUS_OBJ_FULLPATH match.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 4aee9ba5ad)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-03-29 16:15:34 +02:00
..
tests dmloader: Reimplement ParseDescriptor() for DirectMusicContainer. 2018-07-16 09:16:29 +02:00
Makefile.in
container.c dmloader: Remove an unused impl_from_ helper. 2018-08-14 10:15:59 +02:00
debug.c dmloader: Use the ARRAY_SIZE() macro. 2018-10-23 22:25:53 +02:00
debug.h
dmloader.idl
dmloader.spec
dmloader_main.c
dmloader_private.h
dmobject.c dmusic: Sync up the dmobject.[ch] files. 2018-07-16 09:16:19 +02:00
dmobject.h dmusic: Sync up the dmobject.[ch] files. 2018-07-16 09:16:19 +02:00
loader.c dmloader: Stop after find first matching object. 2020-03-29 16:15:34 +02:00
loaderstream.c
version.rc