1
// Copyright 2013 Dolphin Emulator Project
2
// Licensed under GPLv2
3
// Refer to the license.txt file included.
5
#ifndef _COREPARAMETER_H
6
#define _COREPARAMETER_H
35
HK_BALANCEBOARD_CONNECT,
42
HK_INCREASE_FRAME_LIMIT,
43
HK_DECREASE_FRAME_LIMIT,
54
HK_LOAD_STATE_SLOT_10,
65
HK_SAVE_STATE_SLOT_10,
85
struct SCoreStartupParameter
87
void* hInstance; // HINSTANCE but we don't want to include <windows.h>
90
bool bEnableDebugging;
103
// JIT (shared between JIT and JITIL)
104
bool bJITNoBlockCache, bJITBlockLinking;
106
bool bJITLoadStoreOff, bJITLoadStorelXzOff, bJITLoadStorelwzOff, bJITLoadStorelbzxOff;
107
bool bJITLoadStoreFloatingOff;
108
bool bJITLoadStorePairedOff;
109
bool bJITFloatingPointOff;
112
bool bJITSystemRegistersOff;
114
bool bJITILTimeProfiling;
129
bool bEnableMemcardSaving;
134
bool bRunCompareServer;
135
bool bRunCompareClient;
141
bool bVBeamSpeedHack;
145
int SelectedLanguage;
149
// Interface settings
150
bool bConfirmStop, bHideCursor, bAutoHideCursor, bUsePanicHandlers, bOnScreenDisplayMessages;
151
std::string theme_name;
154
int iHotkey[NUM_HOTKEYS];
155
int iHotkeyModifier[NUM_HOTKEYS];
158
std::string strFullscreenResolution;
159
int iRenderWindowXPos, iRenderWindowYPos;
160
int iRenderWindowWidth, iRenderWindowHeight;
161
bool bRenderWindowAutoSize, bKeepWindowOnTop;
162
bool bFullscreen, bRenderToMain;
163
bool bProgressive, bDisableScreenSaver;
165
int iPosX, iPosY, iWidth, iHeight;
167
// Fifo Player related settings
168
bool bLoopFifoReplay;
187
EBootType m_BootType;
189
std::string m_strVideoBackend;
192
std::string m_strFilename;
193
std::string m_strBootROM;
194
std::string m_strSRAM;
195
std::string m_strDefaultGCM;
196
std::string m_strDVDRoot;
197
std::string m_strApploader;
198
std::string m_strUniqueID;
199
std::string m_strRevisionSpecificUniqueID;
200
std::string m_strName;
201
std::string m_strGameIniDefault;
202
std::string m_strGameIniDefaultRevisionSpecific;
203
std::string m_strGameIniLocal;
205
// Constructor just calls LoadDefaults
206
SCoreStartupParameter();
209
bool AutoSetup(EBootBS2 _BootBS2);
210
const std::string &GetUniqueID() const { return m_strUniqueID; }
211
void CheckMemcardPath(std::string& memcardPath, std::string Region, bool isSlotA);
212
IniFile LoadDefaultGameIni() const;
213
IniFile LoadLocalGameIni() const;
214
IniFile LoadGameIni() const;