From 93dde6aaf7395db5002c5b03c8be33c36956db57 Mon Sep 17 00:00:00 2001 From: Jorn van de Beek Date: Sat, 11 May 2013 01:30:43 +0200 Subject: [PATCH] Add quotes to rom path to handle path with spaces --- src/Vinesauce ROM Corruptor/MainForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vinesauce ROM Corruptor/MainForm.cs b/src/Vinesauce ROM Corruptor/MainForm.cs index c683445..65ddf20 100644 --- a/src/Vinesauce ROM Corruptor/MainForm.cs +++ b/src/Vinesauce ROM Corruptor/MainForm.cs @@ -857,7 +857,7 @@ namespace Vinesauce_ROM_Corruptor // Attempt to restart. try { - Emulator = Process.Start(textBox_EmulatorToRun.Text, textBox_SaveLocation.Text); + Emulator = Process.Start(textBox_EmulatorToRun.Text, "\"" + textBox_SaveLocation.Text + "\""); } catch { @@ -877,7 +877,7 @@ namespace Vinesauce_ROM_Corruptor // Its not, just try to start the emulator. try { - Emulator = Process.Start(textBox_EmulatorToRun.Text, textBox_SaveLocation.Text); + Emulator = Process.Start(textBox_EmulatorToRun.Text, "\"" + textBox_SaveLocation.Text + "\""); } catch {