dolphin/Source/Core/DolphinQt2
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
..
Config Give "Dump TEV Stages" and "Dump Texture Fetches" descriptions 2018-06-06 11:59:29 -04:00
Debugger Gekko: Centralize bitmasking of the FPSCR within UReg_FPSCR 2018-06-12 14:15:50 -04:00
FIFO Qt/FIFOPlayer: Implement Analyzer 2018-05-22 23:51:01 +02:00
GameList Qt/GameList: Don't show certain options when a DOL/ELF is selected. 2018-06-05 13:28:16 +02:00
NetPlay PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
QtUtils Merge pull request #6945 from spycrab/qt_sighandler 2018-05-28 22:05:52 +02:00
Settings PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
TAS Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
AboutDialog.cpp Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
AboutDialog.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
CMakeLists.txt Qt/Hotkeys: Implement missing "Other State Management" tab 2018-06-03 12:44:02 +02:00
CheatsManager.cpp Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
CheatsManager.h Qt: Implement Cheats Manager 2018-04-19 10:42:24 +02:00
DolphinQt2.manifest Use .manifest file for apps on Windows 2017-02-10 14:18:45 -08:00
DolphinQt2.rc Qt/MSVC: Add icon 2017-09-02 23:51:59 +02:00
DolphinQt2.vcxproj Qt/Hotkeys: Implement missing "Other State Management" tab 2018-06-03 12:44:02 +02:00
DolphinQt2.vcxproj.user msvc\qt: get rid of .filters; just display directory structure. 2017-06-24 01:52:49 -07:00
GCMemcardManager.cpp DolphinQt2: Resolve unused lambda capture warnings 2018-05-14 10:11:47 -04:00
GCMemcardManager.h DolphinQt2: Add missing Q_OBJECT macro to all QObject-related classes missing it 2018-05-13 17:33:32 -04:00
Host.cpp Common: Move host communication enum to Host.h 2018-05-28 14:34:59 -04:00
Host.h Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
HotkeyScheduler.cpp Merge pull request #7089 from spycrab/qt_refresh_hotkey 2018-06-07 16:49:09 +02:00
HotkeyScheduler.h Qt: Implement "Refresh Game List" hotkey 2018-06-06 18:30:46 +02:00
Info.plist.in Qt/Wx: Turn Qt into the default interface 2018-04-21 17:54:00 +02:00
Main.cpp Qt/Win32: Remove font weight calculation 2018-05-26 13:24:50 +02:00
MainWindow.cpp Qt: Restore fullscreen resolution when regaining focus 2018-06-08 20:47:15 +02:00
MainWindow.h Qt: Fix exclusive fullscreen not being entered on startup 2018-06-08 19:59:41 +02:00
MenuBar.cpp PowerPC: Convert CPUCore enum into an enum class 2018-06-15 10:27:59 -04:00
MenuBar.h Qt: Add option to invoke the updater manually 2018-05-27 04:12:21 +02:00
RenderWidget.cpp Qt: Restore fullscreen resolution when regaining focus 2018-06-08 20:47:15 +02:00
RenderWidget.h Qt: Restore fullscreen resolution when regaining focus 2018-06-08 20:47:15 +02:00
Resources.cpp Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
Resources.h Remove EmuState 2018-03-31 16:21:17 +02:00
SearchBar.cpp SearchBar: Remove unused class variables 2018-03-27 22:47:02 -04:00
SearchBar.h SearchBar: Remove unused class variables 2018-03-27 22:47:02 -04:00
Settings.cpp Qt: Add Refresh button 2018-06-04 23:44:53 +02:00
Settings.h Qt: Add Refresh button 2018-06-04 23:44:53 +02:00
ToolBar.cpp Qt: Add Refresh button 2018-06-04 23:44:53 +02:00
ToolBar.h Qt: Add Refresh button 2018-06-04 23:44:53 +02:00
Translation.cpp Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
Translation.h Qt: use translations 2017-09-14 17:15:21 -07:00
Updater.cpp Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
Updater.h Qt: Add option to invoke the updater manually 2018-05-27 04:12:21 +02:00
WiiUpdate.cpp Qt: Sort includes properly 2018-05-28 04:31:38 +02:00
WiiUpdate.h Qt: Add menu item to perform system update from disc 2017-08-10 23:47:18 +08:00
qt.conf CMake: use BundleUtilities to fix up Dolphin.app 2017-02-03 22:27:19 -08:00
resource.h Qt/MSVC: Add icon 2017-09-02 23:51:59 +02:00