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

Comparing BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp (file contents):
Revision 1.12 by cebix, 2000-09-04T16:30:47Z vs.
Revision 1.15 by cebix, 2001-02-02T20:52:57Z

# Line 1 | Line 1
1   /*
2   *  prefs_editor_amiga.cpp - Preferences editor, AmigaOS implementation (using gtlayout.library)
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2001 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 27 | Line 27
27   #include <libraries/asl.h>
28   #include <libraries/gtlayout.h>
29   #include <libraries/Picasso96.h>
30 < #include <cybergraphx/cybergraphics.h>
30 > #include <cybergraphics/cybergraphics.h>
31   #include <graphics/displayinfo.h>
32   #include <devices/ahi.h>
33   #include <proto/exec.h>
# Line 354 | Line 354 | bool PrefsEditor(void)
354                                                  case GAD_BOOTDRIVER:
355                                                          switch (code) {
356                                                                  case 0:
357 <                                                                        PrefsReplaceInt16("bootdriver", 0);
357 >                                                                        PrefsReplaceInt32("bootdriver", 0);
358                                                                          break;
359                                                                  case 1:
360 <                                                                        PrefsReplaceInt16("bootdriver", CDROMRefNum);
360 >                                                                        PrefsReplaceInt32("bootdriver", CDROMRefNum);
361                                                                          break;
362                                                          }
363                                                          break;
# Line 574 | Line 574 | static void parse_volumes_prefs(void)
574  
575          bootdriver_num = 0;
576  
577 <        int bootdriver = PrefsFindInt16("bootdriver");
577 >        int bootdriver = PrefsFindInt32("bootdriver");
578          switch (bootdriver) {
579                  case 0:
580                          bootdriver_num = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines