From 32fc762cbb4482c58a29e3b0438949a6c003316b Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Tue, 18 May 2010 16:18:50 +0000 Subject: 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 --- src/base/UMain.pas | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ); -- cgit v1.2.3