mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
fix compile on PPC OS X (nw)
This commit is contained in:
parent
d1a7a2ad36
commit
d83925d546
@ -2074,6 +2074,9 @@ static chd_error hunk_write_from_memory(chd_file *chd, UINT32 hunknum, const UIN
|
||||
chd->maxhunk = hunknum;
|
||||
|
||||
/* first compute the CRC of the original data */
|
||||
newentry.flags = 0;
|
||||
newentry.length = 0;
|
||||
newentry.offset = 0;
|
||||
newentry.crc = 0;
|
||||
if (src != NULL)
|
||||
newentry.crc = crc32(0, &src[0], chd->header.hunkbytes);
|
||||
|
Loading…
Reference in New Issue
Block a user