From f83e19aa2d559db7aca97f9fb7193073fc6c7e70 Mon Sep 17 00:00:00 2001 From: CPkmn Date: Thu, 23 May 2013 01:36:23 -0600 Subject: [PATCH] Update sceKernelModule.cpp --- Core/HLE/sceKernelModule.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index abc61d080b..1863dd3061 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -902,11 +902,11 @@ void sceKernelStartModule(u32 moduleId, u32 argsize, u32 argAddr, u32 returnValu int priority = 0x20; int stackSize = 0x40000; - if ((optionAddr) && (smoption.stacksize > 0)) { - stackSize = smoption.stacksize; - } else if (module->nm.module_start_thread_stacksize > 0) { - stackSize = module->nm.module_start_thread_stacksize; - } + if ((optionAddr) && (smoption.stacksize > 0)) { + stackSize = smoption.stacksize; + } else if (module->nm.module_start_thread_stacksize > 0) { + stackSize = module->nm.module_start_thread_stacksize; + } if (optionAddr) {