mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 12:52:30 +02:00
6763a3fce1
This makes it possible to use enums as the config type. Default values are now clearer and there's no need for casts when calling Config::Get/Set anymore. In order to add support for enums, the common code was updated to handle enums by using the underlying type when loading/saving settings. A copy constructor is also provided for conversions from `ConfigInfo<Enum>` to `ConfigInfo<underlying_type<Enum>>` so that enum settings can still easily work with code that doesn't care about the actual enum values (like Graphics{Choice,Radio} in DolphinQt2 which only treat the setting as an integer). |
||
---|---|---|
.. | ||
Cheats | ||
Config | ||
Debugger | ||
Input | ||
ISOProperties | ||
NetPlay | ||
AboutDolphin.cpp | ||
AboutDolphin.h | ||
AuiToolBar.h | ||
CMakeLists.txt | ||
ControllerConfigDiag.cpp | ||
ControllerConfigDiag.h | ||
DolphinSlider.cpp | ||
DolphinSlider.h | ||
DolphinWX.manifest | ||
DolphinWX.rc | ||
DolphinWX.vcxproj | ||
DolphinWX.vcxproj.filters | ||
DolphinWX.vcxproj.user | ||
FifoPlayerDlg.cpp | ||
FifoPlayerDlg.h | ||
Frame.cpp | ||
Frame.h | ||
FrameAui.cpp | ||
FrameTools.cpp | ||
GameListCtrl.cpp | ||
GameListCtrl.h | ||
Globals.h | ||
Info.plist.in | ||
LogConfigWindow.cpp | ||
LogConfigWindow.h | ||
LogWindow.cpp | ||
LogWindow.h | ||
Main.cpp | ||
Main.h | ||
MainMenuBar.cpp | ||
MainMenuBar.h | ||
MainToolBar.cpp | ||
MainToolBar.h | ||
MemcardManager.cpp | ||
MemcardManager.h | ||
PatchAddEdit.cpp | ||
PatchAddEdit.h | ||
PostProcessingConfigDiag.cpp | ||
PostProcessingConfigDiag.h | ||
resource.h | ||
SoftwareVideoConfigDialog.cpp | ||
SoftwareVideoConfigDialog.h | ||
TASInputDlg.cpp | ||
TASInputDlg.h | ||
UINeedsControllerState.cpp | ||
UINeedsControllerState.h | ||
VideoConfigDiag.cpp | ||
VideoConfigDiag.h | ||
WxEventUtils.cpp | ||
WxEventUtils.h | ||
WxUtils.cpp | ||
WxUtils.h |