Skip to content

Commit

Permalink
Added in Config-form: Use libraries from system vs libraries from Str…
Browse files Browse the repository at this point in the history
…umpract release. (3)
  • Loading branch information
fredvs committed Apr 18, 2022
1 parent 42c450d commit 6147102
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 265 deletions.
8 changes: 8 additions & 0 deletions src/config.pas
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,14 @@ procedure tconfigfo.onchangelib(const sender: TObject);
songplayer2fo.checksoundtouch(Sender);
recorderfo.oneventloop(sender);
end;

if allok then
begin
if syslib.value then
showmessage('Libraries from system are loaded.') else
showmessage('Libraries from StrumPract are loaded.');
end;

end;

end.
Expand Down
1 change: 1 addition & 0 deletions src/drums.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,7 @@ procedure tdrumsfo.loadsoundlib(Const Sender: TObject);
lib1, lib2, lib3, lib4: string;

begin
allok := false;
ordir := msestring(IncludeTrailingBackslash(ExtractFilePath(ParamStr(0))));

{$IFDEF Windows}
Expand Down
Loading

0 comments on commit 6147102

Please sign in to comment.