Emulator path fix.

This commit is contained in:
Ryan Sammon
2013-06-11 15:22:46 -04:00
parent 4dc66041a8
commit 5c758686f0
+2 -2
View File
@@ -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
{