summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-03input_common/sdl/sdl_impl: Amend names for axes for SDLAnalogPollerLioncash
Adds another underscore to clearly indicate the axis names.
2019-06-03input_common/sdl/sdl_impl: Mark variables const where applicableLioncash
Make it explicit that these aren't modified elsewhere (either through functions by reference, or by other operations).
2019-06-03input_common/sdl/sdl_impl: Mark SDLEventToButtonParamPackage() as staticLioncash
Its prototype declared at the top of the translation unit contains the static qualifier, so the function itself should also contain it to make it a proper internally linked function.
2019-06-03input_common/sdl/sdl_impl: Convert reinterpret_cast into a static_castLioncash
It's valid to static_cast a void pointer back into its proper type.
2019-06-03input_common/sdl/sdl_impl: Use insert_or_assign() where applicableLioncash
Same behavior, but without a potential need to unnecessarily default construct a value.
2019-06-03input_common/sdl/sdl_impl: Simplify SDL_Joystick deleter handlingLioncash
The deleter can just be set in the constructor and maintained throughout the lifetime of the object. If a contained pointer is null, then the deleter won't execute, so this is safe to do. We don't need to swap it out with a version of a deleter that does nothing.
2019-06-03input_common/sdl/sdl_impl: Resolve two sign conversion warningsLioncash
Silences the final two warnings in SDL code.
2019-06-03input_common/sdl: Remove unused header includes and forward declarationsLioncash
Gets rid of a few unnecessary inclusion dependencies. It also uncovered a few indirect inclusion dependencies being relied upon.
2019-06-03input_common/sdl/sdl_impl: Use nested namespace specifiers where applicableLioncash
2019-05-31input_common/sdl/sdl_impl: Silence sign conversion warningsLioncash
Makes the conversions explicit, as opposed to implicit.
2019-05-31common/math_util: Provide a template deduction guide for Common::RectangleLioncash
Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type.
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-30Merge pull request #2431 from DarkLordZach/game-list-cachebunnei
yuzu: Implement a caching mechanism for the game list
2019-05-30main: Remove extraneous commentZach Hilman
2019-05-29Merge pull request #2446 from ReinUsesLisp/tidbunnei
shader: Implement S2R Tid{XYZ} and CtaId{XYZ}
2019-05-29Merge pull request #2518 from ReinUsesLisp/sdl2-windowbunnei
yuzu_cmd: Split emu_window OpenGL implementation into its own file
2019-05-27Merge pull request #2519 from lioncash/signbunnei
loader/nso, core/core_timing_util: Silence sign-comparison warning
2019-05-27Merge pull request #2524 from ReinUsesLisp/fixup-extensionbunnei
gl_shader_gen: Always declare extensions after the version declaration
2019-05-27gl_device: Add commentary to AOFFI unit test source codeReinUsesLisp
The intention behind this commit is to hint someone inspecting an apitrace dump to ignore this ill-formed GLSL code.
2019-05-27gl_shader_gen: Always declare extensions after the version declarationReinUsesLisp
This addresses a bug on geometry shaders where code was being written before all #extension declarations were done. Ref to #2523
2019-05-26game_list_worker: Add better error handling to cachingZach Hilman
2019-05-26yuzu: Clear partial/full game list cache when data is updatedZach Hilman
2019-05-26game_list: Implement caching for game listZach Hilman
Preserves list of add ons and the icon, which are the two costliest parts of game list population.
2019-05-26ui_settings: Add option to cache game listZach Hilman
2019-05-26emu_window: Pass OnMinimalClientAreaChangeRequest argument by copyReinUsesLisp
There's no performance improvement in passing an unsigned pair by reference.
2019-05-25Merge pull request #2516 from lioncash/labelbunnei
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
2019-05-25Merge pull request #2509 from lioncash/aocbunnei
service/aoc_u: Minor cleanup
2019-05-25Merge pull request #2511 from lioncash/file-strbunnei
common/file_util: Minor cleanup
2019-05-25Merge pull request #2517 from lioncash/hotkeybunnei
configure_hotkeys: Minor cleanup
2019-05-25core_timing_util: Silence sign-comparison warningsLioncash
We can just make the conversion explicit instead of implicit here to silence -Wsign-compare warnings.
2019-05-25loader/nso: Silence sign-comparison warningLioncash
This was previously performing a size_t == int comparison. Silences a -Wsign-compare warning.
2019-05-25yuzu_cmd: Split emu_window OpenGL implementation into its own fileReinUsesLisp
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-24renderer_opengl/utils: Use a std::string_view with LabelGLObject()Lioncash
Uses a std::string_view instead of a std::string, given the pointed to string isn't modified and is only used in a formatting operation. This is nice because a few usages directly supply a string literal to the function, allowing these usages to otherwise not heap allocate, unlike the std::string overloads. While we're at it, we can combine the address formatting into a single formatting call.
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-24Merge pull request #2485 from ReinUsesLisp/generic-memorybunnei
shader/memory: Implement generic memory stores and loads (ST and LD)