mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +02:00
Init exitCode variable
This commit is contained in:
@@ -1846,7 +1846,7 @@ u32 sceKernelUnloadModule(u32 moduleId)
|
||||
}
|
||||
|
||||
u32 sceKernelStopUnloadSelfModule(u32 argSize, u32 argp, u32 statusAddr, u32 optionAddr) {
|
||||
// used in Tom Clancy's Splinter Cell Essentials
|
||||
// used in Tom Clancy's Splinter Cell Essentials,Ghost in the Shell Stand Alone Complex
|
||||
if (loadedModules.size() > 1) {
|
||||
ERROR_LOG_REPORT(SCEMODULE, "UNIMPL sceKernelStopUnloadSelfModule(%08x, %08x, %08x, %08x): game may have crashed",argSize, argp, statusAddr, optionAddr);
|
||||
|
||||
@@ -1854,7 +1854,7 @@ u32 sceKernelStopUnloadSelfModule(u32 argSize, u32 argp, u32 statusAddr, u32 opt
|
||||
u32 priority = 0x20;
|
||||
u32 stacksize = 0x40000;
|
||||
u32 attr = 0;
|
||||
int exitCode;
|
||||
int exitCode = 0;
|
||||
// TODO: In a lot of cases (even for errors), this should resched. Needs testing.
|
||||
|
||||
u32 error;
|
||||
|
||||
Reference in New Issue
Block a user