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 |
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(); |
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 |
|
*/ |