mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Fix as @hrydgard suggest
This commit is contained in:
1 parent
776e72715f
commit
d716b74480
3 files changed
+3
-4
No files matched your search
@@ -1144,8 +1144,7 @@ static int gzipDecompress(u8 *OutBuffer, int OutBufferLength, u8 *InBuffer) {
|
||||
}
|
||||
|
||||
static PSPModule *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 loadAddress, bool fromTop, std::string *error_string, u32 *magic, u32 &error) {
|
||||
u32 crc = crc32(0, Z_NULL, 0);
|
||||
crc = crc32(crc, ptr, elfSize);
|
||||
u32 crc = crc32(0, ptr, elfSize);
|
||||
PSPModule *module = new PSPModule();
|
||||
kernelObjects.Create(module);
|
||||
loadedModules.insert(module->GetUID());
|
||||
|
||||
Reference in new issue
Block a user