summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MenuBar.cpp
AgeCommit message (Collapse)Author
2018-07-07Move DolphinQt2 to DolphinQtspycrab
2018-06-29Qt: Add titles to various message boxesTechjar
2018-06-21BTEmu: Rename AccessWiiMote to AccessWiimoteLioncash
Everywhere else throughout the codebase we use "Wiimote" when referring to the Wii Remote as a shorthand. This makes the casing consistent.
2018-06-20BTEmu: Add helper function for accessing WiimoteDevice instances by indexLioncash
This makes it much more straightforward to access WiimoteDevice instances and also keeps the implementation details of accessing those instances in one spot. Given as all external accesses to the WiimoteDevice instances go through this function, we can make the other two private.
2018-06-15PowerPC: Convert CPUCore enum into an enum classLioncash
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-01WiiSave: Move user interaction to UI frontendsLéo Lam
2018-05-29Qt/MenuBar: Fix JIT Menu options not being applied instantlyspycrab
2018-05-27CDUtils: Amend function namesLioncash
Amends the function names to follow our coding style.
2018-05-27CDUtils: Namespace code under the Common namespaceLioncash
2018-05-27Qt: Add option to invoke the updater manuallyspycrab
2018-05-17PowerPC: Move MMU-specifics from PowerPC.h to MMU.hLioncash
PowerPC.h at this point is pretty much a general glob of stuff, and it's unfortunate, since it means pulling in a lot of unrelated header dependencies and a bunch of other things that don't need to be seen by things that just want to read memory. Breaking this out into its own header keeps all the MMU-related stuff together and also limits the amount of header dependencies being included (the primary motivation for this being the former reason).
2018-05-16Fix "Show Input Display"master0fdisaster
2018-05-14DolphinQt2: Resolve unused lambda capture warningsLioncash
Resolves -Wunused-lambda-capture warnings.
2018-05-13WiiSave: Allow users to specify export directoryLéo Lam
Export and ExportAll now open a directory picker (that defaults to the previous default directory, i.e. the Dolphin user dir). Also removes the need to return the path in the export functions since the user knows which path they chose.
2018-05-13WiiSave: Move dialogs to UI codeLéo Lam
This moves the result dialogs to DolphinQt2, since WiiSave should not really be responsible for interacting with the user as a simple Wii save importing/exporting class. This also fixes Wii save import/export showing result dialogs twice, once from WiiSave, and another time from DolphinQt2.
2018-05-13WiiSave: Clean up constructorsLéo Lam
Move the import/export operation into separate functions, as it doesn't really make sense for the constructor to do *everything*, including printing success/failure message boxes. The existing constructor was split into two: one that takes a path, and another taking a title ID. This makes it more obvious what is actually done when a path/TID is passed and also clarifies what parameters should be passed. (No more magic 0 or "" value.)
2018-05-13Rename CWiiSaveCrypted to WiiSaveLéo Lam
2018-05-12Qt/debugger: Don't update the symbols list unnecessarilyaldelaro5
It only needs to be updated when we changes the symbols, not every time the code widget updates and it does take a while to update them so this fixes some delay when updating the code window.
2018-05-12Qt/debugger: properly updates when we breakaldelaro5
The Host_UpdateDisasmDialog was unimplemented in Qt which is required to get updates when we break. Additionally, this updates the debugger toolbar.
2018-05-12Merge pull request #6624 from spycrab/qt_dbg_jitLéo Lam
Qt/Debugger: Implement "JIT" widget
2018-05-11Qt/Debugger: Implement "JIT" widgetspycrab
2018-04-30DolphinQt2: Correct the condition for enabling Cheat ManagerJosJuice
Only the other condition, the one that runs when the cheat setting changes, was taking into account whether emulation was running.
2018-04-20Merge pull request #6672 from spycrab/qt_dynamicLéo Lam
Qt: Make toolbar more dynamic
2018-04-20Qt: Make toolbar more dynamicspycrab
2018-04-19Qt: Implement Cheats Managerspycrab
2018-04-16Minor fixes to translatable stringsJosJuice
The usual deduplication between DolphinWX and DolphinQt2, plus the removal of a now unused ubershader string and a fix for the Euphoria i18n comment.
2018-04-04Merge pull request #6473 from spycrab/qt_dbg_memoryLéo Lam
Qt/Debugger: Implement "Memory" widget
2018-04-04Qt/Debugger: Implement "Memory" widgetspycrab
2018-03-31Remove EmuStateShawn Hoffman
2018-03-27MenuBar: Remove unnecessary c_str() callLioncash
Also uses the character overload for find_last_of
2018-03-23Qt: Implement missing "File" menu itemsspycrab
2018-03-21Qt: Implement searchspycrab
2018-03-19Make strings more consistent between DolphinWX and DolphinQt2JosJuice
Reduces the number of strings to translate.
2018-03-15Merge pull request #6386 from spycrab/qt_dbg_codeAnthony
Qt/Debugger: Implement "Code" widget
2018-03-09Unify ISOFile (wx) with GameFile (Qt) and put it in UICommonJosJuice
The original reason I wanted to do this was so that we can replace the Android-specific code with this in the future, but of course, just deduplicating between DolphinWX and DolphinQt2 is nice too. Fixes: - DolphinQt2 showing the wrong size for split WBFS disc images. - DolphinQt2 being case sensitive when checking if a file is a DOL/ELF. - DolphinQt2 not detecting when a Wii banner has become available after the game list cache was created. Removes: - DolphinWX's ability to load PNGs as custom banners. But it was already rather broken (see https://bugs.dolphin-emu.org/issues/10365 and https://bugs.dolphin-emu.org/issues/10366). The reason I removed this was because PNG decoding relied on wx code and we don't have any good non-wx/Qt code for loading PNG files right now (let's not use SOIL), but we should be able to use libpng directly to implement PNG loading in the future. - DolphinQt2's ability to ignore a cached game if the last modified time differs. We currently don't have a non-wx/Qt way to get the time.
2018-02-28Qt/Debugger: Implement "Code" widgetspycrab
2018-02-13Qt: Implement GC TAS input windowRukai
2018-01-29Qt: Implement GameCube memory managerspycrab
2018-01-24Qt: Implement "Connect Wii Remotes" menuspycrab
2017-12-28Qt/Debugger: Implement "Breakpoints" windowspycrab
2017-12-28Qt/Debugger: Implement "Watch" windowspycrab
2017-12-28Qt/Debugger: Implement "Registers" windowspycrab
2017-11-26Qt: Fix NAND import menu item parentLéo Lam
2017-11-19Qt: Implement FIFO Playerspycrab
2017-11-03When NAND is damaged, show title names from save filesJosJuice
The earlier code always tried to use TitleDatabase for getting title names, but that didn't work for disc-based games, because there was no way to get the maker ID.
2017-11-03Merge pull request #6159 from JosJuice/consistent-gui-stringsLeo Lam
Make GUI strings more consistent
2017-11-02UI: Tweak the NAND check popup messageLéo Lam
Inform the user that re-launching titles can also fix the issues.
2017-11-02Make GUI strings more consistentJosJuice
Most of the changes I've made here were because of small differences between DolphinWX and DolphinQt2.
2017-10-08WiiUtils: Attempt to fix the NAND more aggressivelyLéo Lam
Change the repair logic to fix issues more aggressively by deleting bad titles. This is necessary because of a bug in Dolphin's WAD boot code. The UI code was updated to inform the user about titles that will be deleted if they continue a repair, before deleting anything.
2017-10-08Add a way to check the NAND for issues and fix themLéo Lam
Old versions of Dolphin are so broken regarding NAND handling that we need this to repair common issues and avoid issues with titles like the System Menu or the Wii Shop. This isn't an exhaustive check, but this will catch most issues and offer to fix them automatically (if possible).