On CoreParemeter member object creation make sure to set bEnableDebugging, bAutomaticStart, and bBootToPause to default values so they aren't unitialized. This caused a issue in particular on the Android builds where bBootToPause would cause the games to boot in to a paused state, effectively causing the application to need to be forced closed and reran multiple times in order to test anything.

This commit is contained in:
Ryan Houdek 2013-08-16 07:30:53 -05:00
parent 367f294ed2
commit da560ecefc
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@
SCoreStartupParameter::SCoreStartupParameter() SCoreStartupParameter::SCoreStartupParameter()
: hInstance(0), : hInstance(0),
bEnableDebugging(false), bAutomaticStart(false), bBootToPause(false),
bJITNoBlockCache(false), bJITBlockLinking(true), bJITNoBlockCache(false), bJITBlockLinking(true),
bJITOff(false), bJITOff(false),
bJITLoadStoreOff(false), bJITLoadStorelXzOff(false), bJITLoadStoreOff(false), bJITLoadStorelXzOff(false),
@ -54,6 +55,8 @@ SCoreStartupParameter::SCoreStartupParameter()
void SCoreStartupParameter::LoadDefaults() void SCoreStartupParameter::LoadDefaults()
{ {
bEnableDebugging = false; bEnableDebugging = false;
bAutomaticStart = false;
bBootToPause = false;
iCPUCore = 1; iCPUCore = 1;
bCPUThread = false; bCPUThread = false;
bSkipIdle = false; bSkipIdle = false;

View File

@ -94,6 +94,7 @@ struct SCoreStartupParameter
// 0 = Interpreter // 0 = Interpreter
// 1 = Jit // 1 = Jit
// 2 = JitIL // 2 = JitIL
// 3 = JIT ARM
int iCPUCore; int iCPUCore;
// JIT (shared between JIT and JITIL) // JIT (shared between JIT and JITIL)