diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-08-16 07:30:53 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-08-16 07:30:53 -0500 |
| commit | da560ecefc00abe1f2d217fc975d77ff132cf81e (patch) | |
| tree | 724b5c529c17c4051f44637cb19c2c7623466046 /Source | |
| parent | 367f294ed2434313251ae0c1bd259dc9077946c5 (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/Src/CoreParameter.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/Core/Src/CoreParameter.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/CoreParameter.cpp b/Source/Core/Core/Src/CoreParameter.cpp index 78029ced2f..bfa8f5d896 100644 --- a/Source/Core/Core/Src/CoreParameter.cpp +++ b/Source/Core/Core/Src/CoreParameter.cpp @@ -20,6 +20,7 @@ SCoreStartupParameter::SCoreStartupParameter() : hInstance(0), + bEnableDebugging(false), bAutomaticStart(false), bBootToPause(false), bJITNoBlockCache(false), bJITBlockLinking(true), bJITOff(false), bJITLoadStoreOff(false), bJITLoadStorelXzOff(false), @@ -54,6 +55,8 @@ SCoreStartupParameter::SCoreStartupParameter() void SCoreStartupParameter::LoadDefaults() { bEnableDebugging = false; + bAutomaticStart = false; + bBootToPause = false; iCPUCore = 1; bCPUThread = false; bSkipIdle = false; diff --git a/Source/Core/Core/Src/CoreParameter.h b/Source/Core/Core/Src/CoreParameter.h index 13b3ccb6f4..23d1b96481 100644 --- a/Source/Core/Core/Src/CoreParameter.h +++ b/Source/Core/Core/Src/CoreParameter.h @@ -94,6 +94,7 @@ struct SCoreStartupParameter // 0 = Interpreter // 1 = Jit // 2 = JitIL + // 3 = JIT ARM int iCPUCore; // JIT (shared between JIT and JITIL) |
