mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Update
This commit is contained in:
1 parent
f0fc6178da
commit
d17e6064de
1 file changed
+1
-1
@@ -720,7 +720,7 @@ Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *erro
|
||||
continue;
|
||||
}
|
||||
|
||||
u32_le variableCount = ent->size == 4 ? ent->vcount : ent->vcountNew;
|
||||
u32_le variableCount = ent->size <= 4 ? ent->vcount : std::max((u32)ent->vcount , (u32)ent->vcountNew);
|
||||
const char *name;
|
||||
if (Memory::IsValidAddress(ent->name)) {
|
||||
name = Memory::GetCharPointer(ent->name);
|
||||
|
||||
Reference in new issue
Block a user