[PATCH] dmloader: Better error reporting in IDirectMusicLoaderImpl_SetObject
Michael Stefaniuc
mstefani at redhat.com
Mon Nov 21 10:11:25 CST 2016
On 11/21/2016 12:31 AM, Fabian Maurer wrote:
> Now logging which file might be missing, usually gm.dls
>
> Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Michael Stefaniuc <mstefani at redhat.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;
> }
>
More information about the wine-patches
mailing list