Commit 7e671dc

ISSOtm committed on
Detect failures in generating ROMs on Unix
This should have worked according to the documentation... augh.
commit 7e671dc942fe248ba881a5c49a183ec63098af32 parent eddf79e
1 changed files +3−3
Modifiedcodegen.pas +3−3
@@ -488,7 +488,7 @@ var
488 Proc.Parameters.Add(InFile); 488 Proc.Parameters.Add(InFile);
489 Proc.Execute; 489 Proc.Execute;
490 490
491 Result := Proc.ExitCode; 491 Result := Proc.ExitStatus;
492 end; 492 end;
493 493
494 function Link(OutFile: string; InFiles: array of string; Map: string = ''; 494 function Link(OutFile: string; InFiles: array of string; Map: string = '';
@@ -507,7 +507,7 @@ var
507 Proc.Parameters.Add(InFile); 507 Proc.Parameters.Add(InFile);
508 Proc.Execute; 508 Proc.Execute;
509 509
510 Result := Proc.ExitCode; 510 Result := Proc.ExitStatus;
511 end; 511 end;
512 512
513 function Fix(GBFile: string): integer; 513 function Fix(GBFile: string): integer;
@@ -519,7 +519,7 @@ var
519 Proc.Parameters.Add(GBFile); 519 Proc.Parameters.Add(GBFile);
520 Proc.Execute; 520 Proc.Execute;
521 521
522 Result := Proc.ExitCode; 522 Result := Proc.ExitStatus;
523 end; 523 end;
524 begin 524 begin
525 Song := OptimizeSong(Song); 525 Song := OptimizeSong(Song);