aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-09 10:44:00 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-09 10:44:00 +0000
commitd4df85930a195250d3f4a3d315921e265f6295c2 (patch)
treeff60f09e5d9503f630f8a566a5d470d86eb3b9ba /Game/Code/Classes
parent7f1bc54225acb3d0bf59b05b32eb80c348fe28ae (diff)
downloadusdx-d4df85930a195250d3f4a3d315921e265f6295c2.tar.gz
usdx-d4df85930a195250d3f4a3d315921e265f6295c2.tar.xz
usdx-d4df85930a195250d3f4a3d315921e265f6295c2.zip
added 3rd party units to DPR to help simplify build.
( backported from trunk ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.01@482 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r--Game/Code/Classes/ULCD.pas4
-rw-r--r--Game/Code/Classes/UMusic.pas2
2 files changed, 4 insertions, 2 deletions
diff --git a/Game/Code/Classes/ULCD.pas b/Game/Code/Classes/ULCD.pas
index a127c689..abdf3584 100644
--- a/Game/Code/Classes/ULCD.pas
+++ b/Game/Code/Classes/ULCD.pas
@@ -41,7 +41,9 @@ const
implementation
uses
- SysUtils, zlportio, UTime;
+ SysUtils,
+ zlportio,
+ UTime;
procedure TLCD.WriteCommand(B: Byte);
// Wysylanie komend sterujacych
diff --git a/Game/Code/Classes/UMusic.pas b/Game/Code/Classes/UMusic.pas
index 4e647ed3..9399adb1 100644
--- a/Game/Code/Classes/UMusic.pas
+++ b/Game/Code/Classes/UMusic.pas
@@ -441,7 +441,7 @@ var
begin
Result := 60;
- bytes := BASS_StreamGetLength(Bass);
+ bytes := BASS_ChannelGetLength( Bass );
Result := BASS_ChannelBytes2Seconds(Bass, bytes);
{ if Assigned(MediaPlayer) then begin