Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define.

This commit is contained in:
Henrik Rydgård
2023-12-07 17:30:15 +01:00
parent 676a4de4d7
commit 85001bf71f
5 changed files with 5 additions and 10 deletions
-4
View File
@@ -1405,10 +1405,6 @@ static PSPModule *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 load
if (!module->isFake) {
bool scan = true;
#if defined(MOBILE_DEVICE)
scan = g_Config.bFuncReplacements;
#endif
// If the ELF has debug symbols, don't add entries to the symbol table.
bool insertSymbols = scan && !reader.LoadSymbols();
std::vector<SectionID> codeSections = reader.GetCodeSections();