Skip to content

Commit e3b6d13

Browse files
committed
Using environment folder paths for System32 dir
1 parent f5fc215 commit e3b6d13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ZuneModCore/Mods/VideoSyncMod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace ZuneModCore.Mods
88
{
99
public class VideoSyncMod : Mod
1010
{
11-
private const string WMVCORE_PATH = @"C:\Windows\System32\WMVCORE.dll";
11+
private readonly string WMVCORE_PATH = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "WMVCORE.dll");
1212

1313
public override string Title => "Fix Video Sync";
1414

0 commit comments

Comments
 (0)