summaryrefslogtreecommitdiff
path: root/src/yuzu
AgeCommit message (Collapse)Author
2018-12-04Merge pull request #1837 from lioncash/mapbunnei
yuzu/game_list_worker: Minor cleanup and code deduplication
2018-12-04yuzu/game_list_worker: Move std::string construction after the termination ↵Lioncash
check in callbacks Avoids potentially allocating a std::string instance when it isn't needed.
2018-12-04kernel/object: Amend handle types to distinguish between readable and ↵Lioncash
writable events Two kernel object should absolutely never have the same handle ID type. This can cause incorrect behavior when it comes to retrieving object types from the handle table. In this case it allows converting a WritableEvent into a ReadableEvent and vice-versa, which is undefined behavior, since the object types are not the same. This also corrects ClearEvent() to check both kernel types like the kernel itself does.
2018-12-03Merge pull request #1842 from lioncash/slotbunnei
yuzu/configuration: Minor clean-up related changes
2018-12-03Merge pull request #1835 from lioncash/cache-globalbunnei
filesystem: De-globalize registered_cache_union
2018-12-03Merge pull request #1803 from DarkLordZach/k-able-eventbunnei
kernel: Divide Event into ReadableEvent and WritableEvent
2018-12-02yuzu/configuration: Make slots private where applicableLioncash
These slots are only ever attached to event handling mechanisms within the class itself, they're never used externally. Because of this, we can make the functions private. This also removes redundant usages of the private access specifier.
2018-12-02yuzu/configuration: Add missing override specifiers to configuration-related ↵Lioncash
classes Resolves trivial compiler warnings.
2018-12-02yuzu/configuration/configure_input: Default destructor in the cpp fileLioncash
The previous code could potentially be a compilation issue waiting to occur, given we forward declare the type for a std::unique_ptr. If the complete definition of the forward declared type isn't visible in a translation unit that the class is used in, then it would fail to compile. Defaulting the destructor in a cpp file ensures the std::unique_ptr's destructor is only invoked where its complete type is known.
2018-12-01Merge pull request #1795 from ReinUsesLisp/vc-cleanupbunnei
video_core: Minor style changes
2018-12-01filesystem: De-globalize registered_cache_unionLioncash
We can just return a new instance of this when it's requested. This only ever holds pointers to the existing registed caches, so it's not a large object. Plus, this also gets rid of the need to keep around a separate member function just to properly clear out the union. Gets rid of one of five globals in the filesystem code.
2018-12-01yuzu/game_list_worker: Deduplicate game list entry creationLioncash
Avoids duplicating the same code twice verbatim.
2018-12-01yuzu/game_list_worker: Tidy up string handling in FillControlMap()Lioncash
We don't need to call out to our own file handling functions when we're going to construct a QFileInfo instance right after it. We also don't need to convert to a std::string again just to compare the file extension.
2018-11-30remove border from GameListBartosz Kaszubowski
2018-11-30configure_input: Amend clang-format discrepanciesLioncash
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman
2018-11-29core: Port all current usages of Event to Readable/WritableEventZach Hilman
2018-11-29Merge pull request #1768 from greggameplayer/patch-2bunnei
Uncheck automatically joycons docked when docked mode is enable
2018-11-28gl_rasterizer: Remove extension booleansReinUsesLisp
2018-11-27Merge pull request #1814 from lioncash/ptrbunnei
file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()
2018-11-27yuzu/configure_input_player: Use std::size_t to represent the player index ↵Lioncash
instead of u8 Prevents compiler warnings related to truncation when invoking the dialog. It's also extremely suspect to use a u8 value here instead of a more general type to begin with.
2018-11-27yuzu/configure_input: Make CallConfigureDialog a non-member template functionLioncash
This doesn't depend on any part of the private interface, so it can be made a non-member internal function.
2018-11-27file_sys/registered_cache: Use regular const references instead of ↵Lioncash
std::shared_ptr for InstallEntry() These parameters don't need to utilize a shared lifecycle directly in the interface. Instead, the caller should provide a regular reference for the function to use. This also allows the type system to flag attempts to pass nullptr and makes it more generic, since it can now be used in contexts where a shared_ptr isn't being used (in other words, we don't constrain the usage of the interface to a particular mode of memory management).
2018-11-27yuzu/configure_input_player: Use a lambda expression instead of std::bindLioncash
std::bind is the pre-C++11 way of doing this.
2018-11-27yuzu/configure_input_player: Amend constructor initializer list orderLioncash
Orders the elements the way they would actually be initialized in. Resolves compiler warnings with gcc and clang
2018-11-27yuzu/configure_input: Remove unused function MoveGridElementLioncash
2018-11-27yuzu/configure_input*: Move data members after function declarationsLioncash
The common pattern is to put the data members after the function interface where applicable.
2018-11-27yuzu/configure_input: Remove unnecessary includesLioncash
2018-11-23Merge pull request #1725 from FernandoS27/gl43bunnei
Update OpenGL's backend version from 3.3 to 4.3
2018-11-23Merge pull request #1708 from ogniK5377/res-scalebunnei
Report resolution scaling support for vi and am
2018-11-23Merge pull request #1747 from DarkLordZach/exefs-lfsbunnei
patch_manager: Add support for applying LayeredFS patches to ExeFS
2018-11-22correct clang-formatgreggameplayer
2018-11-22Automatically disable joycons dockedgreggameplayer
when docked mode is enable
2018-11-21Removed pre 4.3 ARB extensionsFernandoS27
2018-11-21Update OpenGL's backend version from 3.3 to 4.3FernandoS27
2018-11-20patch_manager: Show LayeredExeFS patch in add-ons columnZach Hilman
The decision was made to name them LayeredExeFS instead of just LayeredFS to differentiate from normal RomFS-based mods. The name may be long/unweildy, but conveys the meaning well.
2018-11-20settings: Add option to dump ExeFS of games upon launchZach Hilman
When enabled, all exefs(es) will be copied to yuzu/dump/<title_id>/exefs.
2018-11-20yuzu/applets/software_keyboard: Override accept() and reject() instead of ↵Lioncash
providing own differently named member functions Uses Qt's built-in interface instead of rolling our own separate one on top of it. This also fixes a bug in reject() where we were calling accept() instead of reject().
2018-11-20yuzu/applets/software_keyboard: std::move std::function instances where ↵Lioncash
applicable std::function instances can potentially allocate. std::moveing them prevents an avoidable allocation in that case.
2018-11-20yuzu/applets/software_keyboard: Make slots private functionsLioncash
These aren't required to be public.
2018-11-20Merge pull request #1667 from DarkLordZach/swkbdbunnei
am: Implement HLE software keyboard applet
2018-11-18configure_input: Use Joycons Docked instead of Connected as labelZach Hilman
2018-11-18configure_input_player: Set minimum width on controlsZach Hilman
2018-11-18configure_input: Properly update UI components on removal of playerZach Hilman
2018-11-18configure_input: Make None a controller option instead of checkboxZach Hilman
2018-11-18hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman
2018-11-18qt: Move controller button config to separate dialogZach Hilman
Handles button configuration for all controller layouts and debug pads. Configurable at construction.
2018-11-18qt: Add UI to configure touchscreen parametersZach Hilman
This allows adjusting the finger, diameter, and angle of the emulated touchscreen. It also provides a warning to the user about what changing these parameters can do.
2018-11-18qt: Add UI to configure mouse buttonsZach Hilman
Supports setting the five mouse buttons to any valid controller button/keyboard key (Left, Right, Middle, Foward, Back)
2018-11-18configure_input: Add support for multiplayer and controller typesZach Hilman
This moves the actual button configuration to a separate dialog and only has the enabled and type controls in the tab.