fix videos in wine
This commit is contained in:
parent
caa06c77c0
commit
eca7dde89e
3 changed files with 22 additions and 3 deletions
|
@ -517,6 +517,7 @@ void hook_create(HOOKLIST* hooks, BOOL initial_hook)
|
|||
BOOL is_local = _strnicmp(game_dir, mod_dir, strlen(game_dir)) == 0;
|
||||
|
||||
if (is_local ||
|
||||
_strcmpi(mod_filename, "mciavi32") == 0 ||
|
||||
_strcmpi(mod_filename, "MSVFW32") == 0 ||
|
||||
_strcmpi(mod_filename, "quartz") == 0 ||
|
||||
_strcmpi(mod_filename, "winmm") == 0)
|
||||
|
@ -581,6 +582,7 @@ void hook_revert(HOOKLIST* hooks)
|
|||
BOOL is_local = _strnicmp(game_dir, mod_dir, strlen(game_dir)) == 0;
|
||||
|
||||
if (is_local ||
|
||||
_strcmpi(mod_filename, "mciavi32") == 0 ||
|
||||
_strcmpi(mod_filename, "MSVFW32") == 0 ||
|
||||
_strcmpi(mod_filename, "quartz") == 0 ||
|
||||
_strcmpi(mod_filename, "winmm") == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue