aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UMain.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-07-08 12:00:15 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-07-08 12:00:15 +0000
commitdd3cc6f8e84f03f626a88741474412d36e4d18ac (patch)
treeb4c398b4f01aac329108b77008b62bdad9209820 /Game/Code/Classes/UMain.pas
parentdce08a8771098ac1a56dd4548202454ab268e951 (diff)
downloadusdx-dd3cc6f8e84f03f626a88741474412d36e4d18ac.tar.gz
usdx-dd3cc6f8e84f03f626a88741474412d36e4d18ac.tar.xz
usdx-dd3cc6f8e84f03f626a88741474412d36e4d18ac.zip
Improved Error Logging and Benchmark:
Write US Version, date and time to files. Added better Commandline Parameter Interpreter: More than one parameter can be used at the same time Many new, useful farameters: e.g. No error logging, Resolution change, FullScreen, DualScreen Mode, other Config File, other Score File and SongPath git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@274 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UMain.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index 3bf7d197..b47047a5 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -95,7 +95,7 @@ function GetTimeFromBeat(Beat: integer): real;
procedure ClearScores(PlayerNum: integer);
implementation
-uses USongs, UJoystick, math;
+uses USongs, UJoystick, math, UCommandLine;
procedure MainLoop;
var
@@ -105,7 +105,7 @@ begin
While not Done do
Begin
// joypad
- if Ini.Joypad = 1 then
+ if (Ini.Joypad = 1) OR (Params.Joypad) then
Joy.Update;
// keyboard events