summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config
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-19Discord Rich Presence CMake integrationyourWaifu
I have no idea if this works or not. Hopefully the build bot will tell me.
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-07Use new config system for Discord Rich Presence optionSleepy Flower Girl
This doesn't feel like a mirror change to me.
2018-06-03Add option to disable Discord Presence in WX UISleepy Flower Girl
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-04-12Reformat all the things!spycrab
2018-03-23Rename "On-Screen Messages" to "On-Screen Display Messages"Ryan Meredith
2017-12-20Update Readme.md and various fixesRyan Meredith
2017-11-07The latency setting now appears only if there is at least one backendLAGonauta
that supports it.
2017-11-06Merge pull request #6172 from JosJuice/remove-force-ntsc-jAnthony
Remove "Force Console as NTSC-J"
2017-11-06Merge pull request #6151 from MayImilae/adjust-cpu-override-textAnthony
Adjust CPU Override Text
2017-11-06Adjust CPU Override TextMaJoR
There has been a lot of confusion about what the CPU clock override section does among users, and looking at it… I’m not surprised! It doesn’t directly state which CPU clock rate is being overridden! This small change adjusts the language to clarify that the emulated CPU is being adjusted.
2017-11-06Remove "Force Console as NTSC-J"JosJuice
Nowadays that Dolphin detects regions of discs properly and doesn't force programs with unknown regions (such as homebrew) into running under a certain region, the "Force Console as NTSC-J" option is practically useless for making anything run correctly. Enabling it is however an easy way to totally break many non-Japanese games.
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-24Remove NANDContentManagerLéo Lam
2017-09-27More Capitalization ChangesPEmu1
2017-09-15Qt: Advanced config paneMichael M
2017-09-14InterfaceConfigPane: remove unneeded commentMichael M
It notes that using "no" for Norwegian is not allowed by wxWidgets, but "nb" is the correct code for Norwegian Bokmål anyways.
2017-08-22Fix DolphinWX build issueJosJuice
I'm not sure why this hasn't popped up as an error on the buildbots, but the build fails on my new install of VS2017. The error is C2445: result type of conditional expression is ambiguous: types 'wxString' and 'const char [1]' can be converted to multiple common types
2017-08-11m_bt_wiimote_motor rename and tooltip additionRyan Meredith
2017-08-11WX: Reload Wii config pane on config changeLéo Lam
2017-08-11Config: Include SYSCONF in base layerLéo Lam
Settings that come from the SYSCONF are now included in Dolphin's config system as part of the base layer. They are handled in a special way compared to other settings to make sure they are only loaded from and saved to the SYSCONF (to avoid different, possibly contradicting sources of truth).
2017-08-01Remove DVD root and apploader path settingsJosJuice
2017-07-26Make DolphinWX strings more like DolphinQt2 stringsJosJuice
Same as the previous commit, except I'm copying strings in the other direction because the DolphinWX variants of these strings could use some improvement.
2017-07-21Replace balanced Core::PauseAndLock calls with RunAsCPUThreadLéo Lam
Core::PauseAndLock requires all calls to it to be balanced, like this: const bool was_unpaused = Core::PauseAndLock(true); // do stuff on the CPU thread Core::PauseAndLock(false, was_unpaused); Aside from being a bit cumbersome, it turns out all callers really don't need to know about was_unpaused at all. They just need to do something on the CPU thread safely, including locking/unlocking. So this commit replaces Core::PauseAndLock with a function that makes both the purpose and the scope of what is being run on the CPU thread visually clear. This makes it harder to accidentally run something on the wrong thread, or forget the second call to PauseAndLock to unpause, or forget that it needs to be passed was_unpaused at the end. We also don't need comments to indicate code X is being run on the CPU thread anymore, as the function name makes it obvious.
2017-07-11Merge pull request #5720 from JosJuice/file-metadataLeo Lam
FileUtil: Redesign Exists/IsDirectory/GetSize
2017-07-10Make the built-in wiitdb files optionalJosJuice
There are some cases where overriding the opening.bnr names isn't desirable, such as when someone has several modded versions of a game that differ in names but not game IDs.
2017-07-07Fix date and time handling for custom RTC in WX.Niels Boehm
The actual problem was combining the values from the date and time pickers incorrectly. The uninteresting parts of the returned wxDateTime need to be ignored and the WX documentation says so for the time picker. I also cleaned up the handling of both widgets a bit, removing redundant member variables in the process, in order to not risk correctness.
2017-06-29FileUtil: Add a class for Exists/IsDirectory/GetSizeJosJuice
Some code was calling more than one of these functions in a row (in particular, FileUtil.cpp itself did it a lot...), which is a waste since it's possible to call stat a single time and then read all three values from the stat struct. This commit adds a File::FileInfo class that calls stat once on construction and then lets Exists/IsDirectory/GetSize be executed very quickly. The performance improvement mostly matters for functions that can be handling a lot of files, such as File::ScanDirectoryTree. I've also done some cleanup in code that uses these functions. For instance, some code had checks like !Exists() || !IsDirectory(), which is functionally equivalent to !IsDirectory(), and some code was using File::GetSize even though there was an IOFile object that the code could call GetSize on.
2017-06-27Changed OpenAL latency setting to really reflect how much time it is.LAGonauta
Before these changes each value of latency were actually 5ms, with a minimum latency of ~10 ms. If it was set to 4 ms on the UI, the actual latency was 10 + 5 * 4 = 30 ms. Now 30 ms on the UI means 30 ms on the backend.
2017-06-23replace DoFileSearch with optimized versionShawn Hoffman
2017-06-23DolphinWX: defer gamelist scanning and switch to single-file cache.Shawn Hoffman
2017-06-14PathConfigPane: Prevent an invalid index assertSepalani
2017-06-06DiscIO: Remove C/I/S prefixes from class namesJosJuice
These prefixes were inconsistent with the rest of Dolphin. I'm also renaming VolumeWiiCrypted to VolumeWii because of 1113b13.
2017-06-04WX: Change GC IPL to GC "Main Menu"Léo Lam
That is the official term used by Nintendo.
2017-06-04WX: Replace 'BIOS' with 'IPL'Léo Lam
It's not really a BIOS.
2017-05-27EXI_DeviceMic: use Cubeb instead of PortAudioMichael Maltese
2017-05-21UI: Expose the "show active title" settingLéo Lam
2017-05-19Remove JITILJosJuice
2017-05-01Merge pull request #5283 from spycrab/issue_9622Pierre Bourdon
Make ENABLE_ANALYTICS=0 do something (Issue #9622)
2017-04-30IOS: Convert the IOS kernel HLE code to a classLéo Lam
This changes the main IOS code (roughly the equivalent of the kernel) to a class instead of being a set of free functions + tons of static variables. The reason for this change is that keeping tons of static variables like that prevents us from making an IOS instance and reusing IOS code easily. Converting the IOS code to a class also allows us to mostly decouple IOS from the PPC emulation. The more interesting changes are in Core/IOS/IOS. Everything else is mostly just boring stuff required by this change... * Because the devices themselves call back to the main IOS code for various things (getting the current version, replying to a request, and other syscall-like functions), just like processes in IOS call kernel syscalls, we have to pass a reference to the kernel to anything that uses IOS syscalls. * Change DoState to save device names instead of device IDs to simplify AddDevice() and get rid of an ugly static count. * Change ES_Launch's ack to be sent at IOS boot, now that we can do this properly.
2017-04-26Make ENABLE_ANALYTICS=0 do somethingspycrab
2017-04-23DolphinWX: Small rework of the Audio config dialogFRtranslator
2017-04-22Merge pull request #5245 from JosJuice/top-on-topLéo Lam
Put "Top" on top of "Bottom" in the sensor bar position dropdown
2017-04-18Merge pull request #5273 from JosJuice/android-x86-64JosJuice
x86-64 support on Android
2017-04-16x86-64 support on AndroidJosJuice
We can do this now that the x86-64 JIT supports PIE. JITIL is deliberately excluded from the GUI because it doesn't support PIE yet. (JITIL will be used if it's set in the INI, though.)
2017-04-16Merge pull request #5252 from JosJuice/pitch-textMat M
Update text about pitch depending on emulation speed
2017-04-12Update text about pitch depending on emulation speedJosJuice
Now that we have an audio stretching option, it's possible to change the emulation speed while still having the right pitch.