1 |
|
/* |
2 |
|
* main.cpp - Startup/shutdown code |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2002 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 |
61 |
|
* Initialize everything, returns false on error |
62 |
|
*/ |
63 |
|
|
64 |
< |
bool InitAll(void) |
64 |
> |
bool InitAll(const char *vmdir) |
65 |
|
{ |
66 |
|
// Check ROM version |
67 |
|
if (!CheckROM()) { |
100 |
|
#endif |
101 |
|
|
102 |
|
// Load XPRAM |
103 |
< |
XPRAMInit(); |
103 |
> |
XPRAMInit(vmdir); |
104 |
|
|
105 |
|
// Load XPRAM default values if signature not found |
106 |
|
if (XPRAM[0x0c] != 0x4e || XPRAM[0x0d] != 0x75 |