aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-07IDebugFunctions: Update to 12.xMorph
2021-04-07ICommonStateGetter: Update to 12.xMorph
2021-04-07IGlobalStateController: Update to 12.xMorph
2021-04-07IHomeMenuFunctions: Update to 12.xMorph
2021-04-07Amend bizarre clang-format suggestionsLioncash
2021-04-07k_scoped_scheduler_lock_and_sleep: Mark class as [[nodiscard]]Lioncash
Prevents logic bugs from slipping through.
2021-04-07k_scoped_lock: delete copy and move assignment operatorsLioncash
If we delete the copy and move constructor, we should also be deleting the copy and move assignment operators (and even if this were intended, it would be pretty odd to not document why it's done this way).
2021-04-07k_scoped_lock: Mark class as [[nodiscard]]Lioncash
Prevents logic bugs of the kind described in the previous commit from slipping through.
2021-04-07k_scheduler: Mark KScopedSchedulerLock as [[nodiscard]]Lioncash
Prevents logic bugs like: KScopedSchedulerLock{kernel}; instead of: KScopedSchedulerLock lk{kernel}; from slipping through.
2021-04-07kernel: Increase event and session countsameerj
12.x increased the number of available sessions and event resource counts
2021-04-06Merge pull request #6146 from lat9nq/vp9_empty_memcpybunnei
vp9: Avoid memcpy with null pointers
2021-04-07svc: Expand SVC tablesLioncash
12.x expanded the range of SVC entries from 0x7F to 0xBF (with all new entries being unused), so we can expand it to also match.
2021-04-07process_capability: Handle extended SVC rangeLioncash
12.x extended the range of SVC IDs, so we need to expand the range of bits that need to be tested. The upside of this is that we can eliminate a range check, given the whole range is used.
2021-04-06config: Default to exclusive fullscreen mode on platforms other than WindowsMorph
Several issues have been reported with the borderless windowed fullscreen mode on *nix platforms. Default to exclusive fullscreen mode on these platforms for now.
2021-04-06configure_graphics: Add Borderless Windowed fullscreen modeMorph
The borderless windowed fullscreen mode solves several issues with the presentation of the overlay dialogs and on-screen keyboard in exclusive fullscreen mode, and also has other benefits such as smoother gameplay, lower latency and a significant reduction in screen tearing. Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-04-05nvhost_nvdec_common: Avoid memcpy with null pointerslat9nq
Avoid sending null pointer to memcpy as reported by Undefined Behavious Sanitizer. Co-authored-by: LC <mathew1800@gmail.com>
2021-04-05nvhost_ctrl_gpu: Avoid sending null pointer to memcpylat9nq
Undefined Behaviour Sanitizer reports a null pointer is being sent to memcpy, thought it's "guaranteed to never be null". Guard it with an if statement, and log when the action has been averted.
2021-04-05vp9: Avoid memcpy with null pointerslat9nq
Avoid sending null pointer to memcpy as reported by Undefined Behaviour Sanitizer. Replaces the std::memcpy calls in SpliceVectors with std::copy calls. Opting to replace all the memcpy's with copy's. Co-authored-by: LC <mathew1800@gmail.com>
2021-04-04common: Move assert failure handling into a cpp file.Markus Wick
Advantage: Altering the handler does not need a full recompilation. Disadvantage: noreturn is droped, so the caller is a bit slower. We quite often run yuzu with a YOLO assertion handler. In fact, only very few games run at all with asserts. This patch allows developers to patch the handler without recompiling everything. The overhead of the missing "noreturn" attribute shoul be negletable.
2021-04-04configure_graphics: Prevent stack-use-after-scopelat9nq
Address Sanitizer reports stack-use-after-scope on line 231 `vulkan_devices.push_back(QString::fromStdString(name));`. Instead of using a pointer, copy the string into a std::string and use that, instead.
2021-04-03Merge pull request #6127 from german77/udpSingleConnectionbunnei
InputCommon: Improve UDP communications
2021-04-02Merge pull request #6132 from MerryMage/code_sizebunnei
arm_dynarmic: Increase size of code cache
2021-04-02Merge pull request #6131 from german77/rightjoyconSLSRMorph
HID: Fix SL and SR buttons for right joycon
2021-04-02arm_dynarmic: Increase size of code cacheMerryMage
2021-04-02HID: Fix SL and SR buttons for right joycongerman77
2021-04-01Merge pull request #6106 from MerryMage/nullptr-jitbunnei
[test] arm_dynarmic: Always have a 'valid' jit instance
2021-03-30Merge pull request #6126 from ↵bunnei
Morph1984/stub-SetAlbumImageTakenNotificationEnabled ISelfController: Stub SetAlbumImageTakenNotificationEnabled
2021-03-30Use a single connection for UDP server, make connection test longer and ↵german77
check all pads instead of only the first one
2021-03-30InputCommon: Name properly xbox 360 and one controllers, Fix mappings for ↵german77
Nintendo Pro controllers
2021-03-30Merge pull request #5927 from ameerj/astc-computeRodrigo Locatti
video_core: Accelerate ASTC texture decoding using compute shaders
2021-03-30Merge pull request #6116 from german77/userArgumentbunnei
yuzu/main: Add user command line argument
2021-03-30ISelfController: Stub SetAlbumImageTakenNotificationEnabledMorph
This service call sets an internal flag whether a notification is shown when an image is captured. Currently we do not support capturing images via the capture button, so this can be stubbed for now.
2021-03-30configuration: Add auto stub toggle that resets on bootameerj
Auto-stub is an experimental debugging feature that may cause unforseen bugs. This adds a toggle to only allow auto-stubbing unimplemented functions when explicitly enabled when yuzu is launched.
2021-03-30service: Auto stub fallbackameerj
For simple services we can implement an automatic stub fallback to help with compatibility until a proper implementation is done. Co-Authored-By: Chloe <25727384+ognik5377@users.noreply.github.com>
2021-03-30Merge pull request #6124 from jbeich/vulkan+openglbunnei
vulkan_common: enable OpenGL interop on other Unices
2021-03-30nvdrv: Cleanup CDMA Processor on device closureChloe Marcec
Brings us a step closer to unifying all channels to share a common interface.
2021-03-30Addressed issuesChloe Marcec
2021-03-29Merge pull request #6109 from german77/gestureIDbunnei
HID: Initialize correctly the gesture finger_id and filter invalid inputs
2021-03-30vulkan_common: enable OpenGL interop on other UnicesJan Beich
2021-03-29Merge pull request #6102 from ogniK5377/fd-passbunnei
nvdrv: Pass device fd and handle device create methods for device opening and closing
2021-03-28Merge pull request #6115 from bunnei/fix-kernel-initbunnei
hle: kernel: Initialize preemption task after schedulers.
2021-03-27yuzu/main: Add user command line argumentgerman77
2021-03-27hle: kernel: Initialize preemption task after schedulers.bunnei
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
2021-03-27service: friend: Change logging class from ACC to FriendMorph
2021-03-27Friend: Stub GetPlayHistoryRegistrationKeygerman77
2021-03-26HID: Initialize correctly the gesture finger_id and filter invalid resultsNarr the Reg
2021-03-27pctl: Rework how pctl works to be more accurateChloe Marcec
Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
2021-03-25astc_decoder: Refactor for style and more efficient memory useameerj
2021-03-25nvdrv: Pass device fd and handle device create methods for device opening ↵Chloe Marcec
and closing We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
2021-03-24Merge pull request #6101 from ogniK5377/alloc-as-exbunnei
nvdrv: Change InitializeEx to AllocAsEx