1 |
|
/* |
2 |
|
* rom_patches.cpp - ROM patches |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig |
4 |
> |
* SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig |
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 |
319 |
|
size = (size + 3) & -4; |
320 |
|
for (int i = 0; i < size; i += 4) { |
321 |
|
uint32 x = ntohl(*(uint32 *)(ROM_BASE + base + i)); |
322 |
– |
printf("%08x\n", x); |
322 |
|
if (x != 0x6b636b63 && x != 0) |
323 |
|
return false; |
324 |
|
} |