1 |
|
/* |
2 |
|
* main.cpp - Startup/shutdown code |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 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 |
102 |
|
XPRAMInit(); |
103 |
|
|
104 |
|
// Set boot volume |
105 |
< |
int16 i16 = PrefsFindInt16("bootdrive"); |
105 |
> |
int16 i16 = PrefsFindInt32("bootdrive"); |
106 |
|
XPRAM[0x78] = i16 >> 8; |
107 |
|
XPRAM[0x79] = i16 & 0xff; |
108 |
< |
i16 = PrefsFindInt16("bootdriver"); |
108 |
> |
i16 = PrefsFindInt32("bootdriver"); |
109 |
|
XPRAM[0x7a] = i16 >> 8; |
110 |
|
XPRAM[0x7b] = i16 & 0xff; |
111 |
|
|