From 650ac714da577b19f4191726d715a4d937f642b3 Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 2 Feb 2009 21:18:48 +0000 Subject: [PATCH] Looks like this should be const instead of static, nothing changed in practice. --- desmume/src/bios.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/bios.cpp b/desmume/src/bios.cpp index 983cfe604..1c1d4cba3 100644 --- a/desmume/src/bios.cpp +++ b/desmume/src/bios.cpp @@ -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);