File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -707,13 +707,13 @@ Public Class NewMainWindow
707707 If GetDiscType(GameISO) = DiscType.DVD Then
708708 LockUI() 'Disable UI controls
709709
710- HDL_Dump.StartInfo.Arguments = "inject_dvd " + MountedDrive.HDLDriveName + " """ + GameTitle + """ """ + GameISO + """ """ + GameID + "" " *u4 -hide"
710+ HDL_Dump.StartInfo.Arguments = "inject_dvd " + MountedDrive.HDLDriveName + " """ + GameTitle + """ """ + GameISO + """ " + GameID + " *u4 -hide"
711711 HDL_Dump.Start()
712712 HDL_Dump.BeginOutputReadLine()
713713 Else
714714 LockUI()
715715
716- HDL_Dump.StartInfo.Arguments = "inject_cd " + MountedDrive.HDLDriveName + " """ + GameTitle + """ """ + GameISO + """ """ + GameID + "" " *u4 -hide"
716+ HDL_Dump.StartInfo.Arguments = "inject_cd " + MountedDrive.HDLDriveName + " """ + GameTitle + """ """ + GameISO + """ " + GameID + " *u4 -hide"
717717 HDL_Dump.Start()
718718 HDL_Dump.BeginOutputReadLine()
719719 End If
@@ -860,7 +860,6 @@ Public Class NewMainWindow
860860 HDLDump.StartInfo.CreateNoWindow = True
861861 HDLDump.Start()
862862
863- Dim OutputReader As StreamReader = HDLDump.StandardOutput
864863 Dim output = HDLDump.StandardOutput.ReadToEnd()
865864
866865 If Not output.Contains( "partition not found:" ) Then
@@ -950,6 +949,7 @@ Public Class NewMainWindow
950949 PFSShellProcess.StartInfo.CreateNoWindow = True
951950
952951 PFSShellProcess.Start()
952+ PFSShellProcess.WaitForExit()
953953
954954 Dim ShellReader As StreamReader = PFSShellProcess.StandardOutput
955955 Dim ProcessOutput As String = ShellReader.ReadToEnd()
You can’t perform that action at this time.
0 commit comments