- May 19, 2019
-
-
Lioncash authored
Allows the general configuration code to successfully compile with implicit string conversions disabled.
-
Lioncash authored
Allows the gamelist configuration code to compile with implicit string conversions disabled.
-
Lioncash authored
Avoids using the system accessor more than necessary, and ensures that both dialog boxes see the same power on state.
-
Lioncash authored
We can just use qOverload here to tidy up the function cast.
-
Lioncash authored
Allows the audio configuration code to build with implicit string conversions disabled.
-
Lioncash authored
This has been left unused since the removal of the vestigial surface viewer. Given it has no uses left, this can be removed as well.
-
Lioncash authored
This is a user-facing string, so it should be marked as translatable.
-
Lioncash authored
Allows the graphics breakpoints to compile with implicit string conversions disabled.
-
Lioncash authored
This allows the microprofile widget to compile with implicit string conversions disabled.
-
Lioncash authored
Allows compiling the wait tree widget with implicit string conversions disabled.
-
- May 18, 2019
-
-
Lioncash authored
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore.
-
- May 17, 2019
-
-
ReinUsesLisp authored
Compatibility profile and the disk shader cache settings shouldn't be changed at runtime. This aims to address that shadowing those options.
-
ReinUsesLisp authored
Nvidia's proprietary driver creates a real OpenGL compatibility profile without this option, meanwhile Intel (and probably AMD, I haven't tested it) require that QSurfaceFormat::FormatOption::DeprecatedFunctions is explicitly enabled.
-
- May 14, 2019
-
-
Lioncash authored
With C++17's deduction guides, the type doesn't need to be explicitly specified within locking primitives anymore.
-
- May 09, 2019
-
-
Lioncash authored
-
Lioncash authored
The behavior of the Hotkey constructor is already accomplished via in-class member initializers, so the constructor is superfluous here.
-
Lioncash authored
For similar reasons to the previous change, we move this to a single function, so we don't need to duplicate the conversion logic in several places within main.cpp.
-
Lioncash authored
Specifies the conversions explicitly to avoid implicit conversions from const char* to QString. This makes it easier to disable implicit QString conversions in the future. In this case, the implicit conversion was technically wrong as well. The implicit conversion treats the input strings as ASCII characters. This would result in an incorrect conversion being performed in the rare case a branch name was created with a non-ASCII Unicode character, likely resulting in junk being displayed.
-
Lioncash authored
Keeps the code consistent in regards to how the buttons are referred to.
-
- Apr 20, 2019
-
-
Fernando Sahmkow authored
This option allows picking the compatibility profile since a lot of bugs are fixed in it. We devs will use this option to easierly debug current problems in our Core implementation.:wq
-
- Apr 17, 2019
-
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Lioncash authored
This is a holdover from Citra, where the 3DS has both WaitSynchronization1 and WaitSynchronizationN. The switch only has one form of wait synchronizing (literally WaitSynchonization). This allows us to throw out code that doesn't apply at all to the Switch kernel. Because of this unnecessary dichotomy within the wait synchronization utilities, we were also neglecting to properly handle waiting on multiple objects. While we're at it, we can also scrub out any lingering references to WaitSynchronization1/WaitSynchronizationN in comments, and change them to WaitSynchronization (or remove them if the mention no longer applies).
-
Lioncash authored
The default constructor will always run, even when not specified, so this is redundant. However, the context member can indeed be initialized in the constructor initializer list.
-
Lioncash authored
This include isn't used anymore so it can be removed.
-
Lioncash authored
Resolves -Wreorder warnings. These will automatically be initialized to nullptr anyways, so these were redundant.
-
- Apr 15, 2019
-
-
Lioncash authored
This is a compile definition introduced in Qt 4.8 for reducing the total potential number of strings created when performing string concatenation. This allows for less memory churn. This can be read about here: https://blog.qt.io/blog/2011/06/13/string-concatenation-with-qstringbuilder/ For a change that isn't source-compatible, we only had one occurrence that actually need to have its type clarified, which is pretty good, as far as transitioning goes.
-
- Apr 12, 2019
-
-
FreddyFunk authored
-
- Apr 11, 2019
-
-
FreddyFunk authored
-
- Apr 10, 2019
-
-
Lioncash authored
Without passing in a parent, this can result in focus being stolen from the dialog in certain cases. Example: On Windows, if the logging window is left open, the logging Window will potentially get focus over the hotkey dialog itself, since it brings all open windows for the application into view. By specifying a parent, we only bring windows for the parent into view (of which there are none, aside from the hotkey dialog).
-
Lioncash authored
Without a parent, this dialog won't have its memory freed when it happens to get destroyed.
-
- Apr 09, 2019
-
-
Lioncash authored
-
Lioncash authored
This is checking if an index is valid or not and returning early if it isn't.
-
Lioncash authored
Avoids a -Wreorder compiler warning.
-
Lioncash authored
Avoids dumping all of the core settings machinery into whatever files include this header. Nothing inside the header itself actually made use of anything in settings.h anyways.
-
Lioncash authored
This doesn't actually modify instance state of the dialog, so this can be made const.
-
Lioncash authored
In our error console, when loading a game, the strings: QString::arg: Argument missing: "Loading...", 0 QString::arg: Argument missing: "Launching...", 0 would occasionally pop up when the loading screen was running. This was due to the strings being assumed to have formatting indicators in them, however only two out of the four strings actually have them. This only applies the arguments to the strings that have formatting specifiers provided, which avoids these warnings from occurring.
-