--- BasiliskII/src/prefs.cpp 2005/01/30 21:42:13 1.15 +++ BasiliskII/src/prefs.cpp 2009/07/23 19:19:14 1.18 @@ -1,7 +1,7 @@ /* * prefs.cpp - Preferences handling * - * Basilisk II (C) 1997-2005 Christian Bauer + * Basilisk II (C) 1997-2008 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 @@ -47,21 +47,21 @@ static const prefs_desc *find_prefs_desc * Initialize preferences */ -void PrefsInit(int &argc, char **&argv) +void PrefsInit(const char *vmdir, int &argc, char **&argv) { // Set defaults AddPrefsDefaults(); AddPlatformPrefsDefaults(); // Load preferences from settings file - LoadPrefs(); + LoadPrefs(vmdir); // Override prefs with command line options for (int i=1; i