--- SIDPlayer/src/main.cpp 2001/01/04 19:54:13 1.3 +++ SIDPlayer/src/main.cpp 2003/04/11 20:23:02 1.6 @@ -1,7 +1,7 @@ /* * main.cpp - SIDPlayer common routines * - * SIDPlayer (C) Copyright 1996-2000 Christian Bauer + * SIDPlayer (C) Copyright 1996-2003 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,7 +56,7 @@ static uint32 speed_flags; // Speed fla * Init everything */ -void InitAll(int argc, char **argv) +void InitAll(int &argc, char **&argv) { PrefsInit(argc, argv); MemoryInit(); @@ -216,6 +216,16 @@ bool LoadPSIDFile(const char *file) } +/* + * PSID file loaded and ready? + */ + +bool IsPSIDLoaded(void) +{ + return psid_loaded; +} + + /* * Select song for playing */