Using environment folder paths for System32 dir

This commit is contained in:
Joshua Askharoun
2021-05-06 04:53:13 -05:00
parent f5fc215b8f
commit e3b6d13e0c
+1 -1
View File
@@ -8,7 +8,7 @@ namespace ZuneModCore.Mods
{
public class VideoSyncMod : Mod
{
private const string WMVCORE_PATH = @"C:\Windows\System32\WMVCORE.dll";
private readonly string WMVCORE_PATH = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "WMVCORE.dll");
public override string Title => "Fix Video Sync";