summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-11-15controllers/npad: Connect a controller on init if none are connectedMorph
2020-11-12Merge pull request #4895 from Morph1984/cave-story-plus-applet-fixbunnei
applets/controller: Introduce additional checks for mode and caller
2020-11-09Merge pull request #4901 from bunnei/caps-stubbunnei
hle: service: caps_u: Stub GetAlbumFileList3AaeAruid.
2020-11-10Addressed issuesChloe Marcec
2020-11-10core: Make nvservices more standardizedChloe Marcec
2020-11-08Merge pull request #4909 from lioncash/interruptRodrigo Locatti
cpu_interrupt_handler: Mark move contructor/assignment as deleted
2020-11-08ipc_helpers: Remove usage of the global system instanceLioncash
Resolves numerous deprecation warnings throughout the codebase due to inclusion of this header. Now building core should be significantly less noisy (and also relying on less global state). This also uncovered quite a few modules that were relying on indirect includes, which have also been fixed.
2020-11-08cpu_interrupt_handler: Mark move contructor/assignment as deletedLioncash
The interrupt handler contains a std::atomic_bool, which isn't copyable or movable, so the special move member functions will always be deleted, despite being defaulted. This can resolve warnings on clang and GCC.
2020-11-08applets: Rename LibraryAppletVersion to ControllerAppletVersionMorph
2020-11-08applets/controller: Pop normal data for StrapGuide and FirmwareUpdateMorph
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-08Merge pull request #4903 from bunnei/remove-gpu-integritybunnei
video_core: dma_pusher: Remove integrity check on command lists.
2020-11-07Merge pull request #4906 from lat9nq/log-cpu-accuracyLC
settings: log value of CPU_Accuracy
2020-11-07settings: log value of CPU_Accuracylat9nq
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-05settings: Simplify initializer of resolution factorLioncash
This can use a braced initializer to accomplish the same thing with less code.
2020-11-04Merge pull request #4889 from lioncash/setting-globalbunnei
core/settings: Move configuring_global behind an API
2020-11-04Merge pull request #4858 from lioncash/initializerbunnei
General: Resolve a few missing initializer warnings
2020-11-04core/settings: Move configuring_global behind an APILioncash
Rather than have directly modified global state here, we can make it an implementation detail and have an interface that changes are queried through.
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-01core: Initialize GPU before services.bunnei
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-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.