dolphin/Source/Core/DolphinWX
Lioncash 6f473b96d0 PowerPC: Convert CPUCore enum into an enum class
Makes the enum values strongly-typed and prevents the identifiers from
polluting the PowerPC namespace. This also cleans up the parameters of
some functions where we were accepting an ambiguous int type and
expecting the correct values to be passed in.

Now those parameters accept a PowerPC::CPUCore type only, making it
immediately obvious which values should be passed in. It also turns out
we were storing these core types into other structures as plain ints,
which have also been corrected.

As this type is used directly with the configuration code, we need to
provide our own overloaded insertion (<<) and extraction (>>) operators
in order to make it compatible with it. These are fairly trivial to
implement, so there's no issue here.

A minor adjustment to TryParse() was required, as our generic function
was doing the following:

N tmp = 0;

which is problematic, as custom types may not be able to have that
assignment performed (e.g. strongly-typed enums), so we change this to:

N tmp;

which is sufficient, as the value is attempted to be initialized
immediately under that statement.
2018-06-15 10:27:59 -04:00
..
Cheats Reformat all the things! 2018-04-12 21:28:39 +02:00
Config PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
Debugger Gekko: Centralize bitmasking of the FPSCR within UReg_FPSCR 2018-06-12 14:15:50 -04:00
ISOProperties Make the support for unencrypted Wii disc images less broken 2018-05-23 08:40:37 +02:00
Input ControllerEmu: Use enum instead of bool for translatability 2018-04-13 13:04:26 +02:00
NetPlay PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
AboutDolphin.cpp Common: Move version strings to their own header 2017-09-09 19:28:10 -04:00
AboutDolphin.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
AuiToolBar.h Drop Dolphin-specific patch to wxWindows 2016-09-07 15:15:09 +02:00
CMakeLists.txt Qt/Wx: Turn Qt into the default interface 2018-04-21 17:54:00 +02:00
ControllerConfigDiag.cpp Remove Hybrid Wii Remote 2018-04-17 22:40:21 +02:00
ControllerConfigDiag.h Qt: Add controller (overview) window 2017-05-09 18:49:10 +02:00
DolphinSlider.cpp WX: HiDPI Support Framework 2016-10-04 13:47:21 +11:00
DolphinSlider.h WX: HiDPI Support Framework 2016-10-04 13:47:21 +11:00
DolphinWX.manifest Use .manifest file for apps on Windows 2017-02-10 14:18:45 -08:00
DolphinWX.rc Define the icon for "dolphin". The IDI_ICON1 seems to be preempted by the wx resource. This one does not. 2012-12-17 08:33:42 -06:00
DolphinWX.vcxproj Win32/FileUtil: Fix IsDirectory() not working for certain directories 2018-05-04 23:53:41 +02:00
DolphinWX.vcxproj.filters Unify ISOFile (wx) with GameFile (Qt) and put it in UICommon 2018-03-09 13:08:38 +01:00
DolphinWX.vcxproj.user msbuild: increment other version numbers to vs2017 equivalents 2017-06-03 18:20:39 -07:00
FifoPlayerDlg.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
FifoPlayerDlg.h WX: HiDPI: FifoPlayerDlg 2016-10-04 13:47:22 +11:00
Frame.cpp Add OSD message for Volume Hotkeys 2018-06-06 17:11:43 +02:00
Frame.h UICommon: Move screensaver code to UICommon 2018-01-03 12:38:33 +01:00
FrameAui.cpp DolphinWX: show simple message about scanning in statusbar. 2017-06-23 17:25:53 -07:00
FrameTools.cpp PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
GameListCtrl.cpp Don't store custom names from TitleDatabase in GameFileCache 2018-06-04 07:45:22 +02:00
GameListCtrl.h Don't store custom names from TitleDatabase in GameFileCache 2018-06-04 07:45:22 +02:00
Globals.h Wx: Implement the new debugger icons 2018-04-14 17:22:04 -04:00
Info.plist.in Qt/Wx: Turn Qt into the default interface 2018-04-21 17:54:00 +02:00
LogConfigWindow.cpp LogConfigWindow: fix verbosity 2017-07-09 18:50:55 -07:00
LogConfigWindow.h DolphinWX: remove INI logic from LogConfigWindow 2017-07-07 16:44:38 -07:00
LogWindow.cpp Reformat all the things! 2018-04-12 21:28:39 +02:00
LogWindow.h LogWindow: don't unconfigure logger on destruction 2017-07-09 18:50:55 -07:00
Main.cpp Common: Move host communication enum to Host.h 2018-05-28 14:34:59 -04:00
Main.h UI: Implement a command line option to boot NAND title 2017-10-24 11:41:55 +02:00
MainMenuBar.cpp PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
MainMenuBar.h Reformat all the things! 2018-04-12 21:28:39 +02:00
MainToolBar.cpp Wx: Implement the new debugger icons 2018-04-14 17:22:04 -04:00
MainToolBar.h Wx: Implement the new debugger icons 2018-04-14 17:22:04 -04:00
MemcardManager.cpp GCMemcard: Move memcard source files to their own directory 2017-03-14 21:55:25 -04:00
MemcardManager.h General: Remove unnecessary semicolons 2017-07-30 16:39:53 -04:00
PatchAddEdit.cpp PatchEngine: Make PatchType an enum class 2018-05-13 15:46:51 -04:00
PatchAddEdit.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
PostProcessingConfigDiag.cpp WX: HiDPI: VideoConfigDiag 2016-10-04 13:47:22 +11:00
PostProcessingConfigDiag.h Reformat all the things! 2018-04-12 21:28:39 +02:00
SoftwareVideoConfigDialog.cpp Update Readme.md and various fixes 2017-12-20 10:54:51 +01:00
SoftwareVideoConfigDialog.h VideoCommon: Drop GetConfigName. 2016-06-26 12:34:59 +02:00
TASInputDlg.cpp Reformat all the things! 2018-04-12 21:28:39 +02:00
TASInputDlg.h TASInputDlg: Use an enum for ID constants 2017-04-03 04:29:15 -04:00
UINeedsControllerState.cpp DolphinWX: Resolve missing declaration warnings 2017-12-07 18:58:20 -05:00
UINeedsControllerState.h DolphinWX: fix input bitmaps not working when background input is off 2017-07-12 00:12:07 -07:00
VideoConfigDiag.cpp Config: Add support for enums 2018-05-12 18:10:26 +02:00
VideoConfigDiag.h Implement "Skip" ubershader mode 2018-03-26 01:57:41 +10:00
WxEventUtils.cpp Core: Convert State enum into an enum class 2017-02-05 08:32:23 -05:00
WxEventUtils.h DolphinWX: Move common wxUpdateUIEvent functions to WxEventUtils 2016-11-06 09:02:59 -05:00
WxUtils.cpp Unify ISOFile (wx) with GameFile (Qt) and put it in UICommon 2018-03-09 13:08:38 +01:00
WxUtils.h Unify ISOFile (wx) with GameFile (Qt) and put it in UICommon 2018-03-09 13:08:38 +01:00
resource.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00