--- BasiliskII/src/xpram.cpp 2001/02/02 20:52:57 1.3 +++ BasiliskII/src/xpram.cpp 2008/01/01 09:40:31 1.8 @@ -1,7 +1,7 @@ /* * xpram.cpp - XPRAM handling * - * Basilisk II (C) 1997-2001 Christian Bauer + * Basilisk II (C) 1997-2008 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ // Extended parameter RAM -uint8 XPRAM[256]; +uint8 XPRAM[XPRAM_SIZE]; /* @@ -40,7 +40,7 @@ uint8 XPRAM[256]; void XPRAMInit(void) { // Clear XPRAM - memset(XPRAM, 0, 256); + memset(XPRAM, 0, XPRAM_SIZE); // Load XPRAM from settings file LoadXPRAM();