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 |
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> |
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; |
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; |