1 |
|
/* |
2 |
|
* main_amiga.cpp - Startup code for AmigaOS |
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 |
202 |
|
CyberGfxBase = OpenLibrary((UBYTE *) "cybergraphics.library", 2); |
203 |
|
|
204 |
|
// Read preferences |
205 |
< |
PrefsInit(argc, argv); |
205 |
> |
PrefsInit(NULL, argc, argv); |
206 |
|
|
207 |
|
// Open AHI |
208 |
|
ahi_port = CreateMsgPort(); |
311 |
|
FPUType = attn & AFF_68881 ? 1 : 0; |
312 |
|
|
313 |
|
// Initialize everything |
314 |
< |
if (!InitAll()) |
314 |
> |
if (!InitAll(NULL)) |
315 |
|
QuitEmulator(); |
316 |
|
|
317 |
|
// Move VBR away from 0 if neccessary |