aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-18 16:18:50 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-18 16:18:50 +0000
commit32fc762cbb4482c58a29e3b0438949a6c003316b (patch)
tree33c9402b626359555ce5417446cad13f1a981e1b /src
parent922a96ef136b10d2ee77129cb63752dc389a74ae (diff)
downloadusdx-32fc762cbb4482c58a29e3b0438949a6c003316b.tar.gz
usdx-32fc762cbb4482c58a29e3b0438949a6c003316b.tar.xz
usdx-32fc762cbb4482c58a29e3b0438949a6c003316b.zip
move software cursor initialization and bg music start from ScreenMain.OnShow to Main procedure to fix bugs with the new dialog on wrong mic configuration
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2380 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/base/UMain.pas8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/UMain.pas b/src/base/UMain.pas
index 8e938e52..0d479420 100644
--- a/src/base/UMain.pas
+++ b/src/base/UMain.pas
@@ -295,6 +295,14 @@ begin
Log.BenchmarkEnd(0);
Log.LogBenchmark('Loading Time', 0);
+ { prepare software cursor }
+ Display.SetCursor;
+
+ {**
+ * Start background music
+ *}
+ SoundLib.StartBgMusic;
+
// check microphone settings, goto record options if they are corrupt
if (not AudioInputProcessor.ValidateSettings) then
Display.CurrentScreen^.FadeTo( @ScreenOptionsRecord );