Add quotes to rom path to handle path with spaces
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user