dmloader: Don't claim partial success when loading fails.
This commit is contained in:
parent
760a318882
commit
5e522a1d1c
|
@ -304,7 +304,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIR
|
|||
result = IPersistStream_Load (pPersistStream, pStream);
|
||||
if (result != S_OK) {
|
||||
WARN(": failed to (completely) load object (%s)\n", debugstr_dmreturn(result));
|
||||
ret = DMUS_S_PARTIALLOAD /*result*/;
|
||||
return result;
|
||||
}
|
||||
/* get descriptor */
|
||||
DM_STRUCT_INIT(&GotDesc);
|
||||
|
|
Loading…
Reference in New Issue