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

Comparing SIDPlayer/src/main.cpp (file contents):
Revision 1.2 by cebix, 2000-09-19T15:34:10Z vs.
Revision 1.6 by cebix, 2003-04-11T20:23:02Z

# Line 1 | Line 1
1   /*
2   *  main.cpp - SIDPlayer common routines
3   *
4 < *  SIDPlayer (C) Copyright 1996-2000 Christian Bauer
4 > *  SIDPlayer (C) Copyright 1996-2003 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 56 | Line 56 | static uint32 speed_flags;             // Speed fla
56   *  Init everything
57   */
58  
59 < void InitAll(void)
59 > void InitAll(int &argc, char **&argv)
60   {
61 <        PrefsInit(0, NULL);
61 >        PrefsInit(argc, argv);
62          MemoryInit();
63          SIDInit();
64          CPUInit();
# Line 216 | Line 216 | bool LoadPSIDFile(const char *file)
216   }
217  
218  
219 + /*
220 + *  PSID file loaded and ready?
221 + */
222 +
223 + bool IsPSIDLoaded(void)
224 + {
225 +        return psid_loaded;
226 + }
227 +
228 +
229   /*
230   *  Select song for playing
231   */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines