mirror of
https://github.com/AdmiralCurtiss/WfcPatcher.git
synced 2026-04-24 14:59:42 -05:00
Make the CRC16 Secure Area warning less intimidating.
This commit is contained in:
parent
0b5fcbd542
commit
54a4eb8b98
5
blz.cs
5
blz.cs
|
|
@ -339,7 +339,10 @@ namespace WfcPatcher {
|
|||
crc = BLZ_CRC16(raw_buffer, 0x10, 0x07F0);
|
||||
byte[] crcbytes = BitConverter.GetBytes( crc );
|
||||
if (!(raw_buffer[0x0E] == crcbytes[0] && raw_buffer[0x0F] == crcbytes[1])) {
|
||||
Console.WriteLine("WARNING: CRC16 Secure Area 2KB do not match");
|
||||
Console.WriteLine( "NOTICE: CRC16 Secure Area 2KB do not match" );
|
||||
Console.WriteLine( " This may be indicative of a bad dump." );
|
||||
Console.WriteLine( " If you're patching a modified ROM, such as a hack or" );
|
||||
Console.WriteLine( " fan-translation, you can safely ignore this." );
|
||||
raw_buffer[0x0E] = crcbytes[0];
|
||||
raw_buffer[0x0F] = crcbytes[1];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user