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

Comparing SheepShaver/src/Windows/main_windows.cpp (file contents):
Revision 1.10 by gbeauche, 2005-11-27T20:40:52Z vs.
Revision 1.11 by gbeauche, 2005-11-27T22:29:32Z

# Line 44 | Line 44
44   #include "vm_alloc.h"
45   #include "sigsegv.h"
46   #include "util_windows.h"
47 + #include "kernel_windows.h"
48  
49   #define DEBUG 0
50   #include "debug.h"
# Line 205 | Line 206 | int main(int argc, char **argv)
206          if (!check_drivers())
207                  QuitEmulator();
208  
209 +        // Load win32 libraries
210 +        KernelInit();
211 +
212          // FIXME: default to DIB driver
213          if (getenv("SDL_VIDEODRIVER") == NULL)
214              putenv("SDL_VIDEODRIVER=windib");
# Line 453 | Line 457 | static void Quit(void)
457          // Exit preferences
458          PrefsExit();
459  
460 +        // Release win32 libraries
461 +        KernelExit();
462 +
463   #ifdef ENABLE_MON
464          // Exit mon
465          mon_exit();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines