summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-09Merge pull request #6162 from degasus/no_spin_loopsbunnei
video_core: Avoid spin loops.
2021-04-09ns: Update to 12.xMorph
2021-04-09aoc_u: Update to 12.xMorph
2021-04-09nim: Update to 12.xMorph
2021-04-09npns: Update to 12.xMorph
2021-04-09bgtc: Update to 12.x and implement OpenTaskServiceMorph
2021-04-09vi: Update to 12.xMorph
2021-04-09erpt: Update to 12.xMorph
2021-04-09btm: Update to 12.xMorph
2021-04-09btdrv: Update to 12.xMorph
2021-04-08Merge pull request #6168 from Morph1984/stub-SetNpadAnalogStickUseCenterClampbunnei
service: hid: Stub SetAnalogStickUseCenterClamp
2021-04-08Merge pull request #6155 from ameerj/kernel-12-rescntbunnei
kernel: Increase event and session counts
2021-04-08Merge pull request #6157 from Morph1984/am-update-12.xbunnei
service: am: Update service function tables
2021-04-08Merge pull request #6062 from ameerj/auto-stubbunnei
service: Add a toggle for auto stub fallback
2021-04-08Merge pull request #6145 from lat9nq/nvhost_empty_memcpybunnei
nvhost_nvdec_common: Avoid memcpy with null pointers
2021-04-08Merge pull request #6154 from lioncash/svcrange2bunnei
svc: Expand SVC tables
2021-04-08service: hid: Stub SetAnalogStickUseCenterClampMorph
- Used by eBASEBALLパワフルプロ野球2020
2021-04-07Merge pull request #6160 from Morph1984/fs-update-12.xbunnei
service: fs: Update service function tables
2021-04-07Merge pull request #6143 from lat9nq/nvhost_null_memcpybunnei
nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
2021-04-07Merge pull request #6159 from Morph1984/acc-update-12.xbunnei
service: acc: Update service function tables
2021-04-07video_core: Use a CV for blocking commands.Markus Wick
There is no need for a busy loop here. Let's just use a condition variable to save some power.
2021-04-07video_core/gpu_thread: Keep the write lock for allocating the fence.Markus Wick
Else the fence might get submited out-of-order into the queue, which makes testing them pointless. Overhead should be tiny as the mutex is just moved from the queue to the writing code.
2021-04-07video_core/gpu_thread: Implement a ShutDown method.Markus Wick
This was implicitly done by `is_powered_on = false`, however the explicit method allows us to block until the GPU is actually gone. This should fix a race condition while removing the other subsystems while the GPU is still active.
2021-04-07common/threadsafe_queue: Provide Wait() method.Markus Wick
It shall block until there is something to consume in the queue. And use it for the GPU emulation instead of the spin loop. This is only in booting the emulator, however in BOTW this is the case for about 1 second.
2021-04-07Merge pull request #6130 from degasus/better_assert_handlingbunnei
common: Move assert failure handling into a cpp file.
2021-04-07Merge pull request #6153 from lioncash/svcrangebunnei
process_capability: Handle extended SVC range
2021-04-07hwopus: Update to 12.xMorph
2021-04-07IFile: Update to 12.xMorph
2021-04-07fsp-srv: Update to 12.xMorph
2021-04-07dauth_o: Update to 11.xMorph
2021-04-07acc_u1: Update to 12.xMorph
2021-04-07acc_su: Update to 12.xMorph
2021-04-07ISelfController: Update to 11.xMorph
2021-04-07IApplicationFunctions: Update to 11.xMorph
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-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-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