forked from Mirrors/wine-wine
dmloader: Better error reporting in IDirectMusicLoaderImpl_SetObject.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de> Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
64c27d62b5
commit
ca0f6c0d51
|
@ -422,7 +422,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_SetObject(IDirectMusicLoader8 *ifac
|
|||
/* attach stream */
|
||||
hr = IDirectMusicLoaderFileStream_Attach (pStream, wszFileName, iface);
|
||||
if (FAILED(hr)) {
|
||||
ERR(": could not attach stream to file\n");
|
||||
ERR(": could not attach stream to file %s, make sure it exists\n", debugstr_w(wszFileName));
|
||||
IStream_Release (pStream);
|
||||
return DMUS_E_LOADER_FAILEDOPEN;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue