ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slot_rom.cpp
(Generate patch)

Comparing BasiliskII/src/slot_rom.cpp (file contents):
Revision 1.17 by gbeauche, 2008-01-01T09:40:31Z vs.
Revision 1.18 by cebix, 2010-02-21T12:00:01Z

# Line 1 | Line 1
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
# Line 89 | Line 89 | static void Word(uint16 data)
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) ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines