1 |
|
/* |
2 |
|
* slot_rom.cpp - Slot declaration ROM |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1996-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2002 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 |
450 |
|
p[slot_rom_size - 10] = 0; |
451 |
|
p[slot_rom_size - 9] = 0; |
452 |
|
uint32 crc = 0; |
453 |
< |
for (uint32 i=0; i<slot_rom_size; i++) { |
453 |
> |
for (int i=0; i<slot_rom_size; i++) { |
454 |
|
crc = (crc << 1) | (crc >> 31); |
455 |
|
crc += p[i]; |
456 |
|
} |