mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Added patch to translate 16 bit address in MCIWNDM_SETTIMEFORMATA MCIWndProc16 command.
This commit is contained in:
parent
312843a2c2
commit
759fd000ad
@ -0,0 +1,28 @@
|
||||
From 3e131a30d2f1b69de3c378b54f82f03f45bba6bb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sat, 6 Feb 2016 02:24:05 +0100
|
||||
Subject: msvideo.dll16: Translate 16 bit address in MCIWNDM_SETTIMEFORMATA
|
||||
command.
|
||||
|
||||
---
|
||||
dlls/msvideo.dll16/msvideo16.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/dlls/msvideo.dll16/msvideo16.c b/dlls/msvideo.dll16/msvideo16.c
|
||||
index 1b715e4..f39b52d 100644
|
||||
--- a/dlls/msvideo.dll16/msvideo16.c
|
||||
+++ b/dlls/msvideo.dll16/msvideo16.c
|
||||
@@ -991,6 +991,10 @@ static LRESULT WINAPI MCIWndProc16(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lp
|
||||
lparam = (ULONG_PTR)MapSL(lparam);
|
||||
break;
|
||||
|
||||
+ case MCIWNDM_SETTIMEFORMATA:
|
||||
+ lparam = (ULONG_PTR)MapSL(lparam);
|
||||
+ break;
|
||||
+
|
||||
default:
|
||||
break;
|
||||
}
|
||||
--
|
||||
2.7.0
|
||||
|
1
patches/msvideo-MCIWNDM_SETTIMEFORMATA/definition
Normal file
1
patches/msvideo-MCIWNDM_SETTIMEFORMATA/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Translate 16 bit address in MCIWNDM_SETTIMEFORMATA MCIWndProc16 command
|
@ -185,6 +185,7 @@ patch_enable_all ()
|
||||
enable_msvcr120_strof="$1"
|
||||
enable_msvcrt_Math_Precision="$1"
|
||||
enable_msvcrt_StdHandle_RefCount="$1"
|
||||
enable_msvideo_MCIWNDM_SETTIMEFORMATA="$1"
|
||||
enable_ntdll_APC_Performance="$1"
|
||||
enable_ntdll_APC_Start_Process="$1"
|
||||
enable_ntdll_Activation_Context="$1"
|
||||
@ -696,6 +697,9 @@ patch_enable ()
|
||||
msvcrt-StdHandle_RefCount)
|
||||
enable_msvcrt_StdHandle_RefCount="$2"
|
||||
;;
|
||||
msvideo-MCIWNDM_SETTIMEFORMATA)
|
||||
enable_msvideo_MCIWNDM_SETTIMEFORMATA="$2"
|
||||
;;
|
||||
ntdll-APC_Performance)
|
||||
enable_ntdll_APC_Performance="$2"
|
||||
;;
|
||||
@ -4334,6 +4338,18 @@ if test "$enable_msvcrt_StdHandle_RefCount" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset msvideo-MCIWNDM_SETTIMEFORMATA
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/msvideo.dll16/msvideo16.c
|
||||
# |
|
||||
if test "$enable_msvideo_MCIWNDM_SETTIMEFORMATA" -eq 1; then
|
||||
patch_apply msvideo-MCIWNDM_SETTIMEFORMATA/0001-msvideo.dll-Translate-16-bit-address-in-MCIWNDM_SETT.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "msvideo.dll16: Translate 16 bit address in MCIWNDM_SETTIMEFORMATA command.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset ntdll-APC_Performance
|
||||
# |
|
||||
# | Modified files:
|
||||
|
Loading…
x
Reference in New Issue
Block a user