fix videos in wine

This commit is contained in:
FunkyFr3sh 2024-02-17 23:18:42 +01:00
parent caa06c77c0
commit eca7dde89e
3 changed files with 22 additions and 3 deletions

View file

@ -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)