mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 11:49:05 +02:00
Fix silly bug caused when fixing another silly bug in f528774b39
This commit is contained in:
1 parent
8689fd290f
commit
c89614d180
1 file changed
+1
-3
@@ -915,8 +915,6 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
||||
u32 argpAddr = param.argp;
|
||||
param_argp = new u8[param.args];
|
||||
Memory::Memcpy(param_argp, argpAddr, param.args);
|
||||
} else {
|
||||
param.argp = NULL;
|
||||
}
|
||||
if (param.keyp != 0) {
|
||||
u32 keyAddr = param.keyp;
|
||||
@@ -993,7 +991,7 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
||||
option.stacksize = module->nm.module_start_thread_stacksize;
|
||||
|
||||
if (paramPtr)
|
||||
__KernelStartModule(module, param.args, (const char*)param.argp, &option);
|
||||
__KernelStartModule(module, param.args, (const char*)param_argp, &option);
|
||||
else
|
||||
__KernelStartModule(module, (u32)strlen(filename) + 1, filename, &option);
|
||||
|
||||
|
||||
Reference in new issue
Block a user