--- SIDPlayer/src/main_sdl.cpp 2001/04/01 17:04:43 1.9 +++ SIDPlayer/src/main_sdl.cpp 2001/05/22 20:01:34 1.10 @@ -69,6 +69,7 @@ int main(int argc, char **argv) } atexit(quit); InitAll(argc, argv); + int32 speed = PrefsFindInt32("speed"); // Parse non-option arguments const char *file_name = NULL; @@ -100,9 +101,10 @@ int main(int argc, char **argv) if (song > number_of_songs) song = number_of_songs; SelectSong(song - 1); - SIDAdjustSpeed(PrefsFindInt32("speed")); // SelectSong resets this to 100% } + SIDAdjustSpeed(speed); // SelectSong and LoadPSIDFile() reset this to 100% + // Print file information printf("Module Name: %s\n", module_name); printf("Author : %s\n", author_name);