You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Added patch to fix crash in Gothic 1/2 with builtin directmusic caused by wrong return value.
This commit is contained in:
@@ -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
|
||||
|
1
patches/dmstyle-IPersistStream_ParseReference/definition
Normal file
1
patches/dmstyle-IPersistStream_ParseReference/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [7425] Fix crash in Gothic 1/2 with builtin directmusic caused by wrong return value
|
Reference in New Issue
Block a user