(svn r2112) -Fix: ExtMidi no longer halts the game while starting a song
-Fix: Redirect stdin/stdout/stderr of the ExtMidi process to /dev/null, to prevent it from writing to the terminal While here give the ExtMidi functions canonical names
This commit is contained in:
4
ttd.c
4
ttd.c
@@ -641,7 +641,6 @@ int ttd_main(int argc, char* argv[])
|
||||
LoadDriver(SOUND_DRIVER, _ini_sounddriver);
|
||||
LoadDriver(MUSIC_DRIVER, _ini_musicdriver);
|
||||
LoadDriver(VIDEO_DRIVER, _ini_videodriver); // load video last, to prevent an empty window while sound and music loads
|
||||
MusicLoop();
|
||||
_savegame_sort_order = 1; // default sorting of savegames is by date, newest first
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
@@ -1165,8 +1164,7 @@ void GameLoop(void)
|
||||
|
||||
InputLoop();
|
||||
|
||||
if (_game_mode != GM_MENU)
|
||||
MusicLoop();
|
||||
MusicLoop();
|
||||
}
|
||||
|
||||
void BeforeSaveGame(void)
|
||||
|
||||
Reference in New Issue
Block a user