mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
iop: use const on some variables
Avoid coverity warning
This commit is contained in:
1 parent
056ecb1c39
commit
a7e76438b2
1 file changed
+5
-5
@@ -511,12 +511,12 @@ static void psxRecompileIrxImport()
|
||||
const std::string libname = iopMemReadString(import_table + 12, 8);
|
||||
|
||||
irxHLE hle = irxImportHLE(libname, index);
|
||||
irxDEBUG debug = 0;
|
||||
const char *funcname = 0;
|
||||
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
funcname = irxImportFuncname(libname, index);
|
||||
debug = irxImportDebug(libname, index);
|
||||
const irxDEBUG debug = irxImportDebug(libname, index);
|
||||
const char* funcname = irxImportFuncname(libname, index);
|
||||
#else
|
||||
const irxDEBUG debug = 0;
|
||||
const char *funcname = nullptr;
|
||||
#endif
|
||||
|
||||
if (!hle && !debug && (!SysTraceActive(IOP.Bios) || !funcname))
|
||||
|
||||
Reference in new issue
Block a user