[PATCH] dmloader: Better error reporting in IDirectMusicLoaderImpl_SetObject
Fabian Maurer
dark.shadow4 at web.de
Sun Nov 20 17:31:01 CST 2016
Now logging which file might be missing, usually gm.dls
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
dlls/dmloader/loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmloader/loader.c b/dlls/dmloader/loader.c
index 967b093..0822891 100644
--- a/dlls/dmloader/loader.c
+++ b/dlls/dmloader/loader.c
@@ -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;
}
--
2.10.2
More information about the wine-patches
mailing list