Skip to content

Commit

Permalink
Many internal changes
Browse files Browse the repository at this point in the history
  - EmutecaGuUI:
    - Removed support for media files inside a zip/7z; they must be decompressed now.
    - Removed preview of video and music; mPlayer component stopped working.
    - Removed mPlayer.
  - cSystem: Added Other Folders for files not supported by Emuteca GUI. Althought, Videos and Music folders  will be kept as is.
  - SysFolders.csv: Adding two example folders for Other Folders
  - Some DBs updated: Astrocade, Colecovision, TG16, NGP and Game.com
  - Updated PasDoc project file
  • Loading branch information
Chixpy committed Jan 22, 2024
1 parent da8b964 commit 66029d3
Show file tree
Hide file tree
Showing 133 changed files with 11,213 additions and 59,727 deletions.
11 changes: 7 additions & 4 deletions EmutecaCore/Abstracts/uaEmutecaCustomEmu.pas
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ function caEmutecaCustomEmu.Execute(GameFile: string;
ExecuteCMDString(ActualWorkDir, ExeFile, ActualParam, sOutput,
sError, Result);

// TODO: Make this configurable and let open they from GUI
// TODO: Make this configurable and open from GUI.
aSL := TStringList.Create;
aSL.Text := sError;
if aSL.Count > 0 then
Expand All @@ -536,10 +536,13 @@ function caEmutecaCustomEmu.Execute(GameFile: string;
aSL.SaveToFile('Output.txt');
FreeAndNil(aSL);

{ #done -oChixpy :
// Hack: If normal exit code <> 0, compare and set to 0
// So, this way 0 always is the correct exit of the program,
// and Managers don't care about wich is the actual code
If normal Exit Code <> 0, compare with it and set to 0.
So, this way 0 always is the correct exit of the program,
and Managers don't care about wich is the actual code
}
if Result = ExitCode then
Result := 0;

Expand Down
Loading

0 comments on commit 66029d3

Please sign in to comment.