forked from Mirrors/wine-wine
4e52083781
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
|
||
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
container.c | ||
debug.c | ||
debug.h | ||
dmloader.idl | ||
dmloader.spec | ||
dmloader_main.c | ||
dmloader_private.h | ||
dmobject.c | ||
dmobject.h | ||
loader.c | ||
loaderstream.c | ||
version.rc |