Looks like this should be const instead of static, nothing changed in practice.

This commit is contained in:
riccardom 2009-02-02 21:18:48 +00:00
parent 361220ce5d
commit 650ac714da
1 changed files with 1 additions and 1 deletions

View File

@ -984,7 +984,7 @@ TEMPLATE static u32 getCRC16()
u32 datap = cpu->R[1];
u32 size = cpu->R[2];
static u16 val[] = { 0xC0C1,0xC181,0xC301,0xC601,0xCC01,0xD801,0xF001,0xA001 };
const u16 val[] = { 0xC0C1,0xC181,0xC301,0xC601,0xCC01,0xD801,0xF001,0xA001 };
for(i = 0; i < size; i++)
{
crc = crc ^ _MMU_read08(cpu->proc_ID, datap + i);