1 |
|
/* |
2 |
|
* slot_rom.cpp - Slot declaration ROM |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2008 Christian Bauer |
4 |
> |
* Basilisk II (C) 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 |
89 |
|
srom[p++] = data; |
90 |
|
} |
91 |
|
|
92 |
< |
static void String(char *str) |
92 |
> |
static void String(const char *str) |
93 |
|
{ |
94 |
|
while ((srom[p++] = *str++) != 0) ; |
95 |
|
if (p & 1) |
96 |
|
srom[p++] = 0; |
97 |
|
} |
98 |
|
|
99 |
< |
static void PString(char *str) |
99 |
> |
static void PString(const char *str) |
100 |
|
{ |
101 |
|
srom[p++] = strlen(str); |
102 |
|
while ((srom[p++] = *str++) != 0) ; |