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

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

# Line 1 | Line 1
1   /*
2   *  rom_patches.cpp - ROM patches
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 184 | Line 184 | static void list_rom_resources(void)
184  
185   // Mapping of Model IDs to Model names
186   struct mac_desc {
187 <        char *name;
187 >        const char *name;
188          int32 id;
189   };
190  
# Line 258 | Line 258 | static void print_universal_info(uint32
258          uint16 rom85 = ReadMacInt16(info + 20);
259  
260          // Find model name
261 <        char *name = "unknown";
261 >        const char *name = "unknown";
262          for (int i=0; MacDesc[i].id >= 0; i++)
263                  if (MacDesc[i].id == id + 6) {
264                          name = MacDesc[i].name;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines