mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -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;
|
||||||
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user