aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Main/Program.cs')
-rw-r--r--TimeHACK.Main/Program.cs10
1 files changed, 7 insertions, 3 deletions
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;