write Catalog.xml only after loading songs

get rid of try/catch in SongManager
get rid of try/catch in PrefsManager
This commit is contained in:
Chris Danford
2004-05-25 05:52:57 +00:00
parent 8e654b59ea
commit 962cdfc4f0
6 changed files with 29 additions and 37 deletions
+4 -2
View File
@@ -1052,10 +1052,12 @@ int main(int argc, char* argv[])
BANNERCACHE = new BannerCache;
/* depends on SONGINDEX: */
SONGMAN = new SongManager( loading_window ); // this takes a long time to load
SONGMAN = new SongManager();
SONGMAN->InitAll( loading_window ); // this takes a long time
CRYPTMAN = new CryptManager; // need to do this before ProfileMan
MEMCARDMAN = new MemoryCardManager;
PROFILEMAN = new ProfileManager; // must load after SONGMAN
PROFILEMAN = new ProfileManager;
PROFILEMAN->Init(); // must load after SONGMAN
UNLOCKMAN = new UnlockSystem;
MODELMAN = new ModelManager;
delete loading_window; // destroy this before init'ing Display