Added patch to fix crash in Gothic 1/2 with builtin directmusic caused by wrong return value.

This commit is contained in:
Sebastian Lackner
2015-05-29 19:07:13 +02:00
parent 016e539659
commit 1b2fa6c6cb
5 changed files with 61 additions and 13 deletions

View File

@@ -0,0 +1,25 @@
From f5fe63051ec417248b5bd263d05b99aa506a61c5 Mon Sep 17 00:00:00 2001
From: Bruno Jesus <00cpxxx@gmail.com>
Date: Fri, 29 May 2015 19:05:12 +0200
Subject: dmstyle: Return the correct variable.
---
dlls/dmstyle/dmutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmstyle/dmutils.c b/dlls/dmstyle/dmutils.c
index 5008134..e551410 100644
--- a/dlls/dmstyle/dmutils.c
+++ b/dlls/dmstyle/dmutils.c
@@ -213,7 +213,7 @@ HRESULT IDirectMusicUtils_IPersistStream_ParseReference (LPPERSISTSTREAM iface,
}
TRACE("** DM Reference End of Load ***\n");
- return S_OK;
+ return hr;
}
/* FOURCC to string conversion for debug messages */
--
2.4.2

View File

@@ -0,0 +1 @@
Fixes: [7425] Fix crash in Gothic 1/2 with builtin directmusic caused by wrong return value