summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-07Merge pull request #6410 from lat9nq/avoid-oobbunnei
decoders: Avoid out-of-bounds access
2021-06-06Merge pull request #6414 from bunnei/fix-service-threadsbunnei
hle: kernel: Refactor to allocate a ServiceThread per service handler.
2021-06-06hle: kernel: KServerSession: Use ASSERT_MSG where appropriate.bunnei
2021-06-06hle: kernel: k_server_session: Return service thread by strong pointer.bunnei
2021-06-06hle: kernel: k_server_session: Ensure service thread is valid before ↵bunnei
dereference.
2021-06-06Merge pull request #6400 from ameerj/disable-uniform-simplifybunnei
buffer_cache: Simplify uniform disabling logic
2021-06-06hle: kernel: hle_ipc: Use default destructor for SessionRequestManager.bunnei
2021-06-06hle: kernel: KAutoObjectWithListContainer: Use boost::instrusive::rbtree.bunnei
- Fixes some crashes introduced by our common intrusive red/black tree impl.
2021-06-06Merge pull request #6415 from lioncash/res-nodiscMorph
result: Add [[nodiscard]] specifiers where applicable
2021-06-05Merge pull request #6416 from ReinUsesLisp/update-dynarmicRodrigo Locatti
externals: Update dynarmic
2021-06-05externals: Update dynarmicReinUsesLisp
2021-06-05result: Add [[nodiscard]] specifiers where applicableLioncash
The result code classes are used quite extensively throughout both the kernel and service HLE code. We can mark these member functions as [[nodiscard]] to prevent a few logic bugs from slipping through.
2021-06-04Merge pull request #6362 from lat9nq/reset-to-defaultsbunnei
yuzu qt: Add settings reset button to general configuration
2021-06-04Merge pull request #6411 from clementgallet/yuzu-cmd-touch-buttonMai M
yuzu-cmd: Add touch_from_button in config file
2021-06-04hle: kernel: Refactor to allocate a ServiceThread per service handler.bunnei
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject. - This results in race conditions with N sessions queuing requests to the same service interface. - Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347.
2021-06-04decoders: Break instead of continuelat9nq
continue causes a memory leak in A Hat in Time.
2021-06-04decoders: Avoid out-of-bounds accesslat9nq
This is not a real fix, so assert here and continue before crashing.
2021-06-04Merge pull request #6392 from german77/controller-widgetbunnei
settings: Disable controller preview if controller is not active
2021-06-03Merge pull request #6389 from german77/Analog_button_fixbunnei
input_common: Analog button, use time based position
2021-06-03[game_list] Correct light theme loading (#6408)Maide
Correct light theme loading The setLayout call in game list instantiation will call resizing signals with default values in light theme, which was then being erroneously saved. setLayout doesn't seem to call resizing for any other theme, so I'm not sure why that happens.
2021-06-04yuzu-cmd: Add touch_from_button in config fileClément Gallet
2021-06-03Merge pull request #6402 from Kelebek1/UIbunnei
game_list: Stop the columns resizing on NAND install
2021-06-02Merge pull request #6404 from lat9nq/revert_viewsbunnei
yuzu qt: Revert some usages of string_view
2021-06-02Merge pull request #6405 from Morph1984/result-successbunnei
fsp-srv: Replace one last instance of RESULT_SUCCESS
2021-06-02fsp-srv: Replace one last instance of RESULT_SUCCESSMorph
2021-06-02fspsrv: Implement DisableAutoSaveDataCreation (#6355)Chloe
- Used by Mii Edit
2021-06-02yuzu qt: Revert some usages of string_viewlat9nq
Causes a heap-use-after free reported by AddressSanitizer. This makes use of std::filesystem::path, but due to that we have to use their string() function which may not work for all characters.
2021-06-02Merge pull request #6308 from Morph1984/resultbunnei
general: Replace RESULT_NAME with ResultName
2021-06-02Merge pull request #6403 from Kewlan/game-list-for-loop-optimizationbunnei
game_list: Minor for loop optimizations
2021-06-02game_list: Minor for loop optimizationsKewlan
There's no need to check the first and last rows since they'll always be the Favorites and AddDir rows. Also change the name of the clear_all variable for consistency.
2021-06-02Stop the columns resizing on NAND installKelebek1
2021-06-02general: Replace RESULT_UNKNOWN with ResultUnknownMorph
Transition to PascalCase for result names.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-06-02Merge pull request #6395 from lioncash/result-moveMorph
common_funcs: Move R_ macros to result.h
2021-06-02Merge pull request #6397 from Morph1984/fs_utilMai M
common: fs: fs_util: Add more string conversion functions
2021-06-02common: fs: fs_util: Move PathToUTF8String to fs_utilMorph
2021-06-02common: fs: fs_util: Add more string conversion functionsMorph
2021-06-01Merge pull request #6361 from lat9nq/per-hb-cfgbunnei
yuzu qt: Handle per-game configs for title id 0
2021-06-01yuzu qt: Use lambda and std::function for reset callbacklat9nq
Also makes use of std::move, and performs a clang-format cleanup. This addresses review comments. Co-authored-by: LC <mathew1800@gmail.com>
2021-06-01yuzu: Add settings reset button to general configurationlat9nq
Builds on german77's work to reset all settings back to their defaults. This include UISettings and Settings values structs, but does not affect save profiles, input profiles, and game directories. This works from a button input in configure_general. When activated, it calls a callback to close the whole configure dialog, then GMainWindow deletes the old configuration, both on disk and in memory, and reinitalizes a new one. It also resets a portion of the UI and calls the telemetry window prompt.
2021-06-01configuration: Initial work to reset all settingsfearlessTobi
This commit does not compile. Initial work to add and connect a Reset to Defaults button to the configure_general tab. Co-authored-by: german77 <juangerman-13@hotmail.com>
2021-06-01buffer_cache: Simplify uniform disabling logicameerj
2021-06-01Merge pull request #6396 from lat9nq/mingw-sdl-fixMorph
externals: Use defaults for building SDL2 on WIN32
2021-06-01Merge pull request #6318 from german77/dualJoyconbunnei
input_common: Add dual joycon support
2021-05-31Merge pull request #6367 from ReinUsesLisp/vma-hostbunnei
vulkan_memory_allocator: Allow textures to be allocated in host memory
2021-05-31common_funcs: Move R_ macros to result.hLioncash
These macros all interact with the result code type, so they should ideally be within this file as well, so all the common_funcs machinery doesn't need to be pulled in just to use them.
2021-05-31externals: Use defaults for building SDL2 on WIN32lat9nq
Whatever those settings do breaks controller detection on Windows, at least with the MinGW container. If-guard it against WIN32 and just let SDL2 configure using its defaults, aside from static linking.
2021-05-31Merge pull request #6394 from lat9nq/mingw-fixAmeer J
externals: libusb: Use autotools for MinGW
2021-05-31externals: libusb: Use autotools for MinGWlat9nq
After updating to 1.0.24, MinGW fails to build libusb as a result of numerous errors. So we build libusb their way and let them update the nontrivial stuff. This only applies to MinGW: the old path is still in use for Linux toolchains as well as MSVC. This will dynamically link libusb, since I hit build errors with the old way we used to resolve the conflict with SDL2.
2021-05-30Merge pull request #6385 from degasus/save_memory_accessbunnei
core/memory: Check our memory fallbacks for out-of-bound behavior.