ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/src/main_sdl.cpp
(Generate patch)

Comparing SIDPlayer/src/main_sdl.cpp (file contents):
Revision 1.9 by cebix, 2001-04-01T17:04:43Z vs.
Revision 1.10 by cebix, 2001-05-22T20:01:34Z

# Line 69 | Line 69 | int main(int argc, char **argv)
69          }
70          atexit(quit);
71          InitAll(argc, argv);
72 +        int32 speed = PrefsFindInt32("speed");
73  
74          // Parse non-option arguments
75          const char *file_name = NULL;
# Line 100 | Line 101 | int main(int argc, char **argv)
101                  if (song > number_of_songs)
102                          song = number_of_songs;
103                  SelectSong(song - 1);
103                SIDAdjustSpeed(PrefsFindInt32("speed")); // SelectSong resets this to 100%
104          }
105  
106 +        SIDAdjustSpeed(speed); // SelectSong and LoadPSIDFile() reset this to 100%
107 +
108          // Print file information
109          printf("Module Name: %s\n", module_name);
110          printf("Author     : %s\n", author_name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines