summaryrefslogtreecommitdiff
path: root/src/yuzu
AgeCommit message (Collapse)Author
2019-05-25configure_hotkeys: Remove unnecessary Settings::Apply() callLioncash
Nothing from the hotkeys dialog relies on this call occurring, and is already called from the dialog that calls applyConfiguration().
2019-05-25configure_hotkeys: Tidy up key sequence conflict error stringLioncash
Avoids mentioning the user and formalizes the error itself.
2019-05-25configure_hotkeys: Change critical error dialog into a warning dialogLioncash
critical() is intended for critical/fatal errors that threaten the overall stability of an application. A user entering a conflicting key sequence is neither of those.
2019-05-25configure_hotkeys: Move conflict detection logic to IsUsedKey()Lioncash
We don't need to extract the entire set of hotkeys into a list and then iterate through it. We can traverse the list and early-exit if we're able to.
2019-05-25configure_hotkeys: Remove unused EmitHotkeysChanged()Lioncash
1. This is something that should be solely emitted by the hotkey dialog itself 2. This is functionally unused, given there's nothing listening for the signal.
2019-05-25sequence_dialog: Reorganize the constructorLioncash
The previous code was all "smushed" together wasn't really grouped together that well. This spaces things out and separates them by relation to one another, making it easier to visually parse the individual sections of code that make up the constructor.
2019-05-25sequence_dialog: Remove unnecessary horizontal specifierLioncash
QDialogButtonBoxes are horizontal by default.
2019-05-24Merge pull request #2513 from lioncash/stringbunnei
yuzu/main: Specify string conversions explicitly
2019-05-24Merge pull request #2358 from ReinUsesLisp/parallel-shaderbunnei
gl_shader_cache: Use shared contexts to build shaders in parallel at boot
2019-05-24yuzu/CMakeLists: Disable implicit QString conversionsLioncash
Now that all of our code is compilable with implicit QString conversions, we can enforce it at compile-time by disabling them.
2019-05-24yuzu/applets/software_keyboard: Remove unused assert headerLioncash
This isn't actually used anywhere, so it can be removed.
2019-05-24yuzu/applets/software_keyboard: std::move argument in MainWindowFinishedText()Lioncash
Given the std::optional can contain an object type that heap allocates, we can use std::move to avoid an unnecessary copy/allocation from occurring.
2019-05-24yuzu/applets/software_keyboard: Resolve sign mismatch comparisonLioncash
Qt uses a signed value to represent container sizes, so this was causing a sign mismatch warning.
2019-05-24yuzu/applets/software_keyboard: Specify string conversions explicitlyLioncash
Allows the software keyboard applet code to compile with implicit string conversions disabled.
2019-05-24yuzu/applets/error: Specify string conversions explicitlyLioncash
Allows the error applet to build successfully with implicit string conversions disabled.
2019-05-24yuzu/main: Specify string conversions where applicableLioncash
2019-05-20gl_shader_cache: Use shared contexts to build shaders in parallelReinUsesLisp
2019-05-20yuzu/configuration/config: Make default hotkeys an internally-linked array ↵Lioncash
in the cpp file Given the array is a private static array, we can just make it internally linked to hide it from external code. This also allows us to remove an inclusion within the header.
2019-05-20yuzu/configuration/config: Specify string conversions explicitlyLioncash
Allows the configuration code to build successfully with implicit string conversions disabled.
2019-05-20Merge pull request #2455 from lioncash/configbunnei
configuration/config: Move config loading and saving to functions based off groups
2019-05-20yuzu/game_list: Specify string conversions explicitlyLioncash
Allows the game list code to compile successfully with implicit string conversions disabled.
2019-05-20yuzu/game_list_worker: Specify string conversions explicitlyLioncash
Allows the game list worker code to compile successfully with implicit string conversions disabled.
2019-05-20yuzu/game_list_p: Amend mentions of SMDH in commentsLioncash
SMDH is a metadata format used in some executable formats for the Nintendo 3DS. Switch executables don't utilize this metadata format, so this just a holdover from Citra and can be corrected.
2019-05-20yuzu/game_list_p: Specify string conversions explicitlyLioncash
Allows the game list item code to build with implicit string conversions disabled.
2019-05-20yuzu/loading_screen: Specify string conversions explicitlyLioncash
Allows the loading screen code to compile with implicit string conversions disabled. While we're at it remove unnecessary const usages, and add it to nearby variables where appropriate.
2019-05-20yuzu/bootmanager: Specify string conversions explicitlyLioncash
Allows the bootmanager code to compile with implicit string conversions disabled.
2019-05-20yuzu/util: Specify string conversions explicitlyLioncash
Allows the util code to build with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_web: Specify string conversions explicitlyLioncash
Allows the web config code to compile with implicit string conversions disabled. We can also deduplicate the calls to create the pixmap.
2019-05-19yuzu/configuration/configure_system: Specify string conversions explicitlyLioncash
Allows the system config code to build successfully with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_profile_manager: Mark UI string as translatableLioncash
This is a user-facing string, so it should be marked as translatable.
2019-05-19yuzu/configuration/configure_per_general: Specify string conversions explicitlyLioncash
Allows the per-game configuration to be successfully built with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_mouse_advanced: Clean up array accessesLioncash
Deduplicates array accesses and uses a named variable where appropriate.
2019-05-19yuzu/configuration/configure_mouse_advanced: Specify string conversions ↵Lioncash
explicitly Allows the advanced mouse configuration code to build with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_input_player: Clean up array accessesLioncash
Rather than repeatedly index arrays that have quite a large array index, we can just use a named variable instead.
2019-05-19yuzu/configuration/configure_input_player: Specify string conversions explicitlyLioncash
Allows the player input configuration code to compile with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_input: Mark controller type names as translateableLioncash
These are user-facing strings, so they should be localizable.
2019-05-19yuzu/configuration/configure_general: Specify string conversions explicitlyLioncash
Allows the general configuration code to successfully compile with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_gamelist: Specify string conversions explicitlyLioncash
Allows the gamelist configuration code to compile with implicit string conversions disabled.
2019-05-19yuzu/configuration/configure_audio: Store power on query into a variableLioncash
Avoids using the system accessor more than necessary, and ensures that both dialog boxes see the same power on state.
2019-05-19yuzu/configuration/configure_audio: Tidy up function castLioncash
We can just use qOverload here to tidy up the function cast.
2019-05-19yuzu/configuration/configure_audio: Specify string conversions explicitlyLioncash
Allows the audio configuration code to build with implicit string conversions disabled.
2019-05-19Merge pull request #2468 from lioncash/deductionHexagon12
yuzu: Remove explicit types from locks where applicable
2019-05-19Merge pull request #2492 from lioncash/debuggerHexagon12
yuzu/debugger: Specify string conversions explicitly
2019-05-19Merge pull request #2486 from lioncash/resetnameSebastian Valle
core/kernel/object: Rename ResetType enum members for clarity
2019-05-19Merge pull request #2493 from lioncash/translateSebastian Valle
yuzu/applets/profile_select: Mark header string as translatable
2019-05-19Merge pull request #2476 from ReinUsesLisp/fix-compatHexagon12
yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
2019-05-19yuzu/util: Remove unused spinbox.cpp/.hLioncash
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.
2019-05-19yuzu/applets/profile_select: Mark header string as translatableLioncash
This is a user-facing string, so it should be marked as translatable.
2019-05-19yuzu/debugger/graphics/graphics_breakpoints: Specify string conversions ↵Lioncash
explicitly Allows the graphics breakpoints to compile with implicit string conversions disabled.
2019-05-19yuzu/debugger/profiler: Specify string conversions explicitlyLioncash
This allows the microprofile widget to compile with implicit string conversions disabled.