1 |
|
/* |
2 |
|
* prefs.cpp - Preferences handling |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2002 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2005 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 |
121 |
|
argc -= k; |
122 |
|
} |
123 |
|
} |
124 |
+ |
|
125 |
+ |
#ifdef SHEEPSHAVER |
126 |
+ |
// System specific initialization |
127 |
+ |
prefs_init(); |
128 |
+ |
#endif |
129 |
|
} |
130 |
|
|
131 |
|
|
135 |
|
|
136 |
|
void PrefsExit(void) |
137 |
|
{ |
138 |
+ |
#ifdef SHEEPSHAVER |
139 |
+ |
// System specific deinitialization |
140 |
+ |
prefs_exit(); |
141 |
+ |
#endif |
142 |
+ |
|
143 |
|
// Free prefs list |
144 |
|
prefs_node *p = the_prefs, *next; |
145 |
|
while (p) { |