Changeset 318 for trunk/GameSystem.pas
- Timestamp:
- Jun 21, 2024, 3:20:20 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GameSystem.pas
r317 r318 81 81 begin 82 82 Files := TStringList.Create; 83 FindAllFiles(Files, Dir, '*' + GameSystemExt, True, faAnyFile); 84 for I := 0 to Files.Count - 1 do begin 85 NewItem := TGameSystem.Create; 86 NewItem.LoadFromFile(Files[I]); 87 Add(NewItem); 88 end; 89 Files.Free; 83 try 84 FindAllFiles(Files, Dir, '*' + GameSystemExt, True, faAnyFile); 85 for I := 0 to Files.Count - 1 do begin 86 NewItem := TGameSystem.Create; 87 NewItem.LoadFromFile(Files[I]); 88 Add(NewItem); 89 end; 90 finally 91 Files.Free; 92 end; 90 93 end; 91 94
Note:
See TracChangeset
for help on using the changeset viewer.