mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
blarg.
also, calculate ROM CRC.
This commit is contained in:
@ -18,6 +18,8 @@
|
||||
|
||||
#include "CRC32.h"
|
||||
|
||||
// http://www.codeproject.com/KB/recipes/crc32_large.aspx
|
||||
|
||||
u32 crctable[256];
|
||||
bool tableinited = false;
|
||||
|
||||
@ -35,7 +37,7 @@ u32 _reflect(u32 refl, char ch)
|
||||
return value;
|
||||
}
|
||||
|
||||
void inittable()
|
||||
void _inittable()
|
||||
{
|
||||
u32 polynomial = 0x04C11DB7;
|
||||
|
||||
|
Reference in New Issue
Block a user