Changeset 71 for trunk/USound.pas


Ignore:
Timestamp:
Jan 11, 2023, 3:25:24 PM (22 months ago)
Author:
chronos
Message:
  • Fixed: Build under Windows.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/USound.pas

    r70 r71  
    4141resourcestring
    4242  SUnableToPlay = 'Unable to play ';
     43  {$IFDEF WINDOWS}
     44  {$ELSE}
    4345  SPlayNotSupported = 'The play command %s does not work on your system';
     46  {$ENDIF}
    4447
    4548procedure Register;
     
    126129begin
    127130{$IFDEF WINDOWS}
    128   if FPlayStyle = psASync then
     131  if FStyle = psASync then
    129132    Flags := SND_ASYNC or SND_NODEFAULT
    130133  else
Note: See TracChangeset for help on using the changeset viewer.