Skip to content

Commit

Permalink
patches: fixup broken farlight84 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Jan 9, 2024
1 parent f6462c8 commit c10c952
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion patches/wine-hotfixes/pending/4428.patch
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ diff --git a/dlls/xinput1_3/main.c b/dlls/xinput1_3/main.c
index e69553fba16..c4b2d5e871b 100644
--- a/dlls/xinput1_3/main.c
+++ b/dlls/xinput1_3/main.c
@@ -1129,3 +1129,35 @@ DWORD WINAPI DECLSPEC_HOTPATCH XInputGetBatteryInformation(DWORD index, BYTE typ
@@ -1159,3 +1151,37 @@ DWORD WINAPI DECLSPEC_HOTPATCH XInputGetBatteryInformation(DWORD index, BYTE typ

return ERROR_NOT_SUPPORTED;
}
Expand Down Expand Up @@ -182,6 +182,8 @@ index e69553fba16..c4b2d5e871b 100644
+ caps->ProductId = attr.ProductID;
+ caps->VersionNumber = attr.VersionNumber;
+
+ controller_unlock(&controllers[index]);
+
+ return ERROR_SUCCESS;
+}
diff --git a/dlls/xinput1_4/xinput1_4.spec b/dlls/xinput1_4/xinput1_4.spec
Expand Down

0 comments on commit c10c952

Please sign in to comment.