Skip to content

Commit 5f471bf

Browse files
committed
Small inject command change
1 parent f057d9f commit 5f471bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PSX XMB Manager/NewMainWindow.xaml.vb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)