From cf4609d054ee554d7503c42322f9129f7423c4e4 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 22 Jul 2017 16:40:49 +0100 Subject: Fixed bugs, added features --- TimeHACK.Main/Program.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'TimeHACK.Main/Program.cs') diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index 86f1a54..cba20d6 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -67,9 +67,13 @@ namespace TimeHACK public static string OpenFileExplorerAsDialogAndReturnGivenPath() { - Win95WindowsExplorer we = new Win95WindowsExplorer(); - - WinClassic app = wm.StartWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true, true); + if (SaveSystem.CurrentSave.CurrentOS == "95") + { + WinClassic app = wm.StartWin95(new Win95WindowsExplorer(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true, true); + } else { + WinClassic app = wm.StartWin95(new WinClassicWindowsExplorer(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true, true); + } + try { return WindowsExplorerReturnPath; -- cgit v1.2.3