summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX
AgeCommit message (Collapse)Author
2018-06-26Remove DolphinWXspycrab
2018-06-25Merge pull request #6983 from yourWaifu/add-discord-rpc-supportPierre Bourdon
Add Discord Rich Presence support
2018-06-23Add nag dialog to get users to explain why they still use DolphinWXShawn Hoffman
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-21Merge pull request #7143 from lioncash/bt-helperMarkus Wick
BTEmu: Make m_WiiMotes private
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-19Discord Rich Presence CMake integrationyourWaifu
I have no idea if this works or not. Hopefully the build bot will tell me.
2018-06-19PowerPC: Add functions to read/write the full timebase valueLioncash
Allows us to get rid of a silly pointer cast and deduplicate some code from the front-end when it comes to reading the value.
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-12Gekko: Centralize bitmasking of the FPSCR within UReg_FPSCRLioncash
Rather than introduce this handling in every system instruction that modifies the FPSCR directly, we can instead just handle it within the data structure instead, which avoids duplicating mask handling across instructions. This also allows handling proper masking from the debugger register windows themselves without duplicating masking behavior there either.
2018-06-07Use new config system for Discord Rich Presence optionSleepy Flower Girl
This doesn't feel like a mirror change to me.
2018-06-06Add OSD message for Volume Hotkeysmaster0fdisaster
This pr adds an OnScreenDisplay message when you use the Volume hotkeys. Just to have visual feedback.
2018-06-04Merge pull request #7058 from JosJuice/move-titledatabase-usageLéo Lam
Don't store custom names from TitleDatabase in GameFileCache
2018-06-04Don't store custom names from TitleDatabase in GameFileCacheJosJuice
This saves us from having to update the GameFileCache when the TitleDatabase changes (for instance when the user changes language).
2018-06-03Add option to disable Discord Presence in WX UISleepy Flower Girl
2018-06-03Added INI setting for Discord Rich PresenceSleepy Flower Girl
2018-06-03Moved Discord RPC library's source code to externalSleepy Flower Girl
2018-06-03Add Discord Rich Presence supportSleepy Flower Girl
2018-06-01WiiSave: Move user interaction to UI frontendsLéo Lam
2018-05-28Common: Move host communication enum to Host.hLioncash
Given this is actually a part of the Host interface, this should be placed with it. While we're at it, turn it into an enum class so that we don't dump its contained values into the surrounding scope. We can also make Host_Message take the enum type itself directly instead of taking a general int value. After this, it'll be trivial to divide out the rest of Common.h and remove the header from the repository entirely
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-27SymbolDB: Namespace code under the Common namespaceLioncash
Moves more common code into the Common namespace where it belongs.
2018-05-27SymbolDB: Normalize variable namesLioncash
Normalizes variable naming so that it adheres to our coding style While we're at it do minor cleanup relating to modified lines
2018-05-26Merge pull request #6947 from JosJuice/unencrypted-wii-discLéo Lam
Make the support for unencrypted Wii disc images less broken
2018-05-25Common: Namespace GekkoDisassembler.cpp/.hLioncash
Moves more common code into the Common namespace where it belongs
2018-05-23Port FS, SD and dump path to onion configLéo Lam
This ports the Wii filesystem root, Wii SD card path and dump path settings to the new config system (OnionConfig). My initial plan was to wait until DolphinWX was removed before porting most of the Main (Core, DSP, General) settings to onion config, but I've decided to submit a small part of those changes to fix [issue 10566](https://bugs.dolphin-emu.org/issues/10566). Removes the need to manually set the FileUtil path in the UI frontends and gets rid of some more members that don't really belong in SConfig. Also fixes a bug which would cause the dump path not to get created after change.
2018-05-23Make the support for unencrypted Wii disc images less brokenJosJuice
These disc images are only used on dev units and not retail units. There are two important differences compared to normal Wii disc images: - The data starts 0x8000 bytes into each partition instead of 0x20000 - The data of a partition is stored unencrypted and contains no hashes Our old implementation was just guesswork and doesn't work at all. According to testing by GerbilSoft, this commit's implementation is able to read and extract files in the filesystem correctly, but the tested game still isn't able to boot. (It's thanks to their info about unencrypted disc images that I was able to make this commit.)
2018-05-22DebugInterface: MemoryPatches methods addedSepalani
CodeView: Restore instruction added
2018-05-18PPCAnalyst: Make CodeBuffer an alias for std::vector<CodeOp>Lioncash
This class effectively acted as a "discount vector", that would simply allocate memory and then delete it in the destructor when it goes out of scope. We can just use a std::vector directly to reduce this boilerplate.
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-13PatchEngine: Make PatchType an enum classLioncash
Makes the enum strongly typed. A function for retrieving the string representation of the enum is also added, which allows hiding the array that contains all of the strings from view (i.e. we operate on the API, not the exposed internals). This also allows us to bounds check any querying for the strings.
2018-05-13PatchEngine: Give Patch and PatchEntry default member initializersLioncash
Avoids potentially using the values uninitialized. While we're at it, also drop the prefixed underscores from one of the constructors.
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: 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-12Config: Add support for enumsLéo Lam
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).
2018-05-12Config: Fix template deduction for implicit conversionsLéo Lam
This excludes the second argument from template deduction. Otherwise, it is required to manually cast the second argument to the ConfigInfo type (because implicit conversions won't work). e.g. to set the value for a ConfigInfo<std::string> from a string literal, you'd need a ugly `std::string("yourstring")`.
2018-05-11VideoCommon/RenderBase: Refactor OSD messagesspycrab
2018-05-06PowerPC: Make the PowerPCState's fpscr member variable a UReg_FPSCR instanceLioncash
Gets rid of the need to cast the actual member to access information without bit shifts and masking.
2018-05-06Merge pull request #6758 from leoetlino/fs-wiiutilsLéo Lam
WiiUtils: Migrate to new filesystem interface
2018-05-06Merge pull request #6341 from sepalani/debug-watchesLéo Lam
DebugInterface: Watches methods added
2018-05-05PowerPC: Make the PowerPCState's msr member variable a UReg_MSR instanceLioncash
Gets rid of the need to construct UReg_MSR values around the the actual member in order to query information from it (without using shifts and masks). This makes it more concise in some areas, while helping with readability in some other places (such as copying the ILE bit to the LE bit in the exception checking functions).
2018-05-05WX: Only call IsTitleInstalled when core is stoppedLéo Lam
2018-05-05Merge pull request #6695 from Ebola16/UbershadersDecripLéo Lam
Update Ubershader descriptions
2018-05-04Win32/FileUtil: Fix IsDirectory() not working for certain directoriesspycrab
2018-05-04Merge pull request #6744 from stenzek/ui-disable-vram-copiesStenzek
UI: Add Disable EFB Copies to VRAM to Advanced Options
2018-05-03DolphinWX: Scale window geometry before passing to backendStenzek
In macOS, the window size is device-independent points, which may not match the content/backing framebuffer size.
2018-05-03UI: Add Disable EFB Copies to VRAM to Advanced OptionsStenzek
2018-05-01Update Ubershader descriptionsRyan Meredith