aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-26Merge pull request #4832 from bunnei/cpu-manager-microprofile-fixbunnei
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
2020-10-26Merge pull request #4833 from bunnei/timezonemanager-explicitbunnei
hle: services: TimeZoneContentManager: This can be made explicit.
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-26Merge pull request #4834 from lioncash/copy-fnbunnei
controller: Pass ControllerParameters by reference in ReconfigureControllers()
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-26controller: Pass ControllerParameters by reference in ReconfigureControllers()Lioncash
Prevents unnecessary copies and heap reallocations from occurring.
2020-10-26hle: services: TimeZoneContentManager: This can be made explicit.bunnei
2020-10-26core: cpu_manager: Add missing call to MicroProfileOnThreadExit().bunnei
- Fixes an occasional crash when trying to launch subsequent games.
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-20core: Fix clang build pt.2Lioncash
Resolves the clang build issue in a more unintrusive way.
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-19Merge pull request #4802 from lioncash/bcatbunnei
core: Add boxcat sources with target_sources
2020-10-18Merge pull request #4783 from bunnei/nvdrv-freespacebunnei
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
2020-10-18core: Add boxcat sources with target_sourcesLioncash
Same behavior, minus a script variable.
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.
2020-10-13filesystem: Fix CreateDirectory and DeleteFileMorph
Add a check if dir is nullptr (does not exist) Fixes save game creation in Hades
2020-10-12service: time: Update current time with changes to RTC setting.bunnei
- This can be used to advance time, e.g. for Pokemon Sword/Shield pokejobs.
2020-10-12Merge pull request #3929 from FearlessTobi/ticket-keysbunnei
file_sys/nsp: Make SetTicketKeys actually do something
2020-10-12hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.bunnei
- This is used by Super Mario 3D All-Stars.
2020-10-07Merge pull request #4736 from Morph1984/home-button-input-protection-stubbunnei
hid: Stub HomeButtonInputProtection service commands