# | Line 121 | Line 121 | void PrefsInit(int &argc, char **&argv) | |
---|---|---|
121 | argc -= k; | |
122 | } | |
123 | } | |
124 | + | |
125 | + | #ifdef SHEEPSHAVER |
126 | + | // System specific initialization |
127 | + | prefs_init(); |
128 | + | #endif |
129 | } | |
130 | ||
131 | ||
# | Line 130 | Line 135 | void PrefsInit(int &argc, char **&argv) | |
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) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |