Properly fix the extern to const void instead of just void.
authorgameblabla <gameblabla@protonmail.com>
Wed, 25 Aug 2021 11:25:51 +0000 (13:25 +0200)
committergameblabla <gameblabla@protonmail.com>
Wed, 25 Aug 2021 11:25:51 +0000 (13:25 +0200)
libpcsxcore/new_dynarec/backends/psx/emu_if.h

index 64f6c5a..e5396ef 100644 (file)
@@ -100,7 +100,7 @@ void pcsx_mtc0(u32 reg, u32 val);
 void pcsx_mtc0_ds(u32 reg, u32 val);
 
 /* misc */
 void pcsx_mtc0_ds(u32 reg, u32 val);
 
 /* misc */
-extern void (*psxHLEt[8])();
+extern const void (*psxHLEt[8])();
 
 extern void SysPrintf(const char *fmt, ...);
 
 
 extern void SysPrintf(const char *fmt, ...);