Added proper initialization to CoreParameter. This caused some odd behavior after fixing some of our broken singletons in r5085 as some of the bools were true by default.
Works-for-me(TM), please test if I missed anything. All values should be initialized with the default values from either configuration or datatype. Fixes Issue 2334 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5094 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
885299d985
commit
3bb9ab68ae
|
@ -30,6 +30,28 @@
|
||||||
#include "Core.h" // for bWii
|
#include "Core.h" // for bWii
|
||||||
|
|
||||||
SCoreStartupParameter::SCoreStartupParameter()
|
SCoreStartupParameter::SCoreStartupParameter()
|
||||||
|
: hInstance(0), hMainWindow(0),
|
||||||
|
bJITUnlimitedCache(false), bJITBlockLinking(false),
|
||||||
|
bJITOff(false),
|
||||||
|
bJITLoadStoreOff(false), bJITLoadStorelXzOff(false),
|
||||||
|
bJITLoadStorelwzOff(false), bJITLoadStorelbzxOff(false),
|
||||||
|
bJITLoadStoreFloatingOff(false), bJITLoadStorePairedOff(false),
|
||||||
|
bJITFloatingPointOff(false), bJITIntegerOff(false),
|
||||||
|
bJITPairedOff(false), bJITSystemRegistersOff(false),
|
||||||
|
bJITBranchOff(false), bJITProfiledReJIT(false),
|
||||||
|
bEnableFPRF(false),
|
||||||
|
bCPUThread(true), bDSPThread(false),
|
||||||
|
bSkipIdle(true), bNTSC(false),
|
||||||
|
bHLE_BS2(true), bUseFastMem(false),
|
||||||
|
bLockThreads(false),
|
||||||
|
bEnableCheats(false), bEnableIsoCache(false),
|
||||||
|
bRunCompareServer(false), bRunCompareClient(false),
|
||||||
|
iTLBHack(0), SelectedLanguage(0),
|
||||||
|
bWii(false), bWiiLeds(false), bWiiSpeakers(false),
|
||||||
|
bConfirmStop(false), bHideCursor(false),
|
||||||
|
bAutoHideCursor(false), bUsePanicHandlers(true),
|
||||||
|
iTheme(0),
|
||||||
|
iPosX(100), iPosY(100), iWidth(800), iHeight(600)
|
||||||
{
|
{
|
||||||
LoadDefaults();
|
LoadDefaults();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue