ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/prefs.cpp
(Generate patch)

Comparing BasiliskII/src/prefs.cpp (file contents):
Revision 1.12 by cebix, 2001-05-15T14:24:25Z vs.
Revision 1.17 by gbeauche, 2008-01-01T09:40:31Z

# Line 1 | Line 1
1   /*
2   *  prefs.cpp - Preferences handling
3   *
4 < *  Basilisk II (C) 1997-2001 Christian Bauer
4 > *  Basilisk II (C) 1997-2008 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
# 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) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines