aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2020-11-08applets/controller: Introduce additional checks for mode and callerMorph
Some games like Cave Story+ set invalid values in the ControllerPrivateArg's mode and caller fields. Use other fields to determine the appropriate mode and caller should either or both fields be invalid.
2020-11-08applets/controller: Add ControllerUpdateFirmwareArg structMorph
2020-11-07video_core: dma_pusher: Remove integrity check on command lists.bunnei
- This seems to cause softlocks in Breath of the Wild.
2020-11-06Merge pull request #4888 from lioncash/unicorn-removebunnei
core: Remove usage of unicorn
2020-11-06hle: service: caps_u: Stub GetAlbumFileList3AaeAruid.bunnei
- This works similiar to GetAlbumContentsFileListForApplication. - Since we do not implement the album, this should be safe to stub for now. - Used by Super Smash Bros. Ultimate (newer updates) in World of Light.
2020-11-04Merge pull request #4858 from lioncash/initializerbunnei
General: Resolve a few missing initializer warnings
2020-11-04Merge pull request #4869 from bunnei/improve-gpu-syncChloe
Improvements to GPU synchronization & various refactoring
2020-11-03core: Remove usage of unicornLioncash
Unicorn long-since lost most of its use, due to dynarmic gaining support for handling most instructions. At this point any further issues encountered should be used to make dynarmic better. This also allows us to remove our dependency on Python.
2020-11-03Merge pull request #4878 from bunnei/unload-nrrbunnei
hle: service: ldr: Implement UnloadNrr.
2020-11-01fixup! hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and ↵bunnei
other improvements.
2020-11-01 hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other ↵bunnei
improvements. - Refactor so that SubmitGPFIFO and KickoffPB use shared functionality. - Implement add_wait and add_increment flags.
2020-11-01service: hle: nvflinger: Fix potential shutdown crash when GPU is destroyed.bunnei
2020-11-01hle service: nvdrv: nvhost_ctrl: Update to use SyncpointManager.bunnei
2020-11-01hle service: nvdrv: Update to instantiate SyncpointManager.bunnei
2020-11-01hle: service: nvdrv: Implement SyncpointManager, to manage syncpoints.bunnei
2020-11-01Rename to align with switchbrew and remove gpu function (#4714)Levi Behunin
* Rename to align with switchbrew * Rename to align with switchbrew and remove gpu function that checks if clearing should be done.
2020-10-31hle: service: ldr: Implement UnloadNrr.bunnei
- Used by Final Fantasy X/X-2 HD Remaster.
2020-10-30video_core: unbreak -Werror in NVDEC with ClangJan Beich
src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp:41:15: error: unused variable 'OutOfMemory' [-Werror,-Wunused-const-variable] constexpr u32 OutOfMemory{static_cast<u32>(-12)}; ^
2020-10-29General: Resolve a few missing initializer warningsLioncash
Resolves a few -Wmissing-initializer warnings.
2020-10-29kernel/process: Add missing <ctime> includeMorph
Fixes compilation on MSVC
2020-10-28Merge pull request #4835 from lat9nq/rng-default-timebunnei
kernel: Use the current time as the default RNG seed
2020-10-28Merge pull request #4846 from lioncash/service-fnbunnei
service: Update function tables
2020-10-27service: Update function tablesLioncash
Updates function tables according to info on SwitchBrew.
2020-10-26Merge pull request #4729 from ameerj/nvdec-prodbunnei
video_core: NVDEC Implementation
2020-10-27hle/kernel: Remove unused registered_core_threads to fix data racesReinUsesLisp
This member was only used on asserts and it triggered data races. Remove it to fix them.
2020-10-26video_core: NVDEC Implementationameerj
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
2020-10-26kernel: Use the current time as the default RNG seedlat9nq
Use the current time, not zero, as the default RNG seed.
2020-10-26hle: services: TimeZoneContentManager: This can be made explicit.bunnei
2020-10-25Merge pull request #4828 from lioncash/lockguardRodrigo Locatti
general: Use template deduction guides for lock_guard
2020-10-25general: Use template deduction guides for lock_guardLioncash
Same behavior, less code.
2020-10-22Merge pull request #4792 from bunnei/rtc-fixbunnei
service: time: Update current time with changes to RTC setting.
2020-10-21core: Fix clang build pt.3Lioncash
Should finally resolve building with clang.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-20kernel: Fix build with recent compiler flag changesLioncash
This slipped through the cracks due to another change being merged before the compiler flag changes.
2020-10-20Merge pull request #4796 from lioncash/clangLC
core: Fix clang build
2020-10-20Merge pull request #4390 from ogniK5377/get-applet-inf-stubbunnei
nifm: GetAppletInfo stub
2020-10-20Added remaining paramsDavid Marcec
2020-10-20nifm: GetAppletInfo stubDavid Marcec
Fixes crash for Catherine Full Body
2020-10-19Merge pull request #4788 from ReinUsesLisp/lockfree-host-threadbunnei
kernel: Implement host thread register methods without locking
2020-10-19Merge pull request #4785 from Morph1984/fs-hadesbunnei
filesystem: Fix CreateDirectory and DeleteFile
2020-10-18Merge pull request #4783 from bunnei/nvdrv-freespacebunnei
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
2020-10-17Merge pull request #4801 from lioncash/missing-boundbunnei
mii/manager: Make use of unused lower bound in GetRandomValue()
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-17mii/manager: Make use of unused lower bound in GetRandomValue()Lioncash
Previously, the lower bound wasn't being used and zero was being used as the lower bound every time this function was called. This affects the outcome of some of the randomized entries a little bit, for example, the lower-bound for beard and mustache flags was supposed to be 1, not 0. Aside from these cases, the bug didn't affect anything else.
2020-10-16service: bcat: Check client connection before interacting with socket.bunnei
- Fixes a crash when BCAT service is offline.
2020-10-15Merge pull request #4784 from bunnei/cancelbufferbunnei
hle: service: vi: Implement BufferQueue::CancelBuffer.
2020-10-14service: acc: Stub IManagerForApplication::StoreOpenContext.bunnei
- Used by Super Mario 3D All-Stars.
2020-10-13hle: service: vi: Implement BufferQueue::CancelBuffer.bunnei
- This is used by Super Mario 3D All-Stars.
2020-10-13kernel: Implement host thread register methods without lockingReinUsesLisp
Locks on GetCurrentHostThreadID were causing performance issues according to Visual Studio's profiler. It was consuming twice the time as arm_interface.Run(). The cost was not in the function itself but in the lockinig it required. Reimplement these functions using atomics and static storage instead of an unordered_map. This is a side effect to avoid locking and using linked lists for reads. Replace unordered_map with a linear search.
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.