Properly protect the HLE instructions against corrupted memory. (#189)
[pcsx_rearmed.git] / libpcsxcore / psxhle.c
index 83362ec..52227a4 100644 (file)
@@ -89,7 +89,7 @@ static void hleExecRet() {
        psxRegs.pc = psxRegs.GPR.n.ra;
 }
 
-void (*psxHLEt[256])() = {
+const void (*psxHLEt[8])() = {
        hleDummy, hleA0, hleB0, hleC0,
        hleBootstrap, hleExecRet,
        hleDummy, hleDummy