summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4788 from ReinUsesLisp/lockfree-host-threadGravatar bunnei2020-10-191-28/+38
|\ | | | | kernel: Implement host thread register methods without locking
| * kernel: Implement host thread register methods without lockingGravatar ReinUsesLisp2020-10-131-28/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #4785 from Morph1984/fs-hadesGravatar bunnei2020-10-191-2/+3
|\ \ | | | | | | filesystem: Fix CreateDirectory and DeleteFile
| * | filesystem: Fix CreateDirectory and DeleteFileGravatar Morph2020-10-131-2/+3
| |/ | | | | | | | | | | Add a check if dir is nullptr (does not exist) Fixes save game creation in Hades
* | Merge pull request #4802 from lioncash/bcatGravatar bunnei2020-10-191-7/+7
|\ \ | | | | | | core: Add boxcat sources with target_sources
| * | core: Add boxcat sources with target_sourcesGravatar Lioncash2020-10-181-7/+7
| | | | | | | | | | | | Same behavior, minus a script variable.
* | | Merge pull request #4783 from bunnei/nvdrv-freespaceGravatar bunnei2020-10-182-0/+25
|\ \ \ | |/ / |/| | hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
| * | hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.Gravatar bunnei2020-10-122-0/+25
| | | | | | | | | | | | - This is used by Super Mario 3D All-Stars.
* | | Merge pull request #4801 from lioncash/missing-boundGravatar bunnei2020-10-171-1/+1
|\ \ \ | | | | | | | | mii/manager: Make use of unused lower bound in GetRandomValue()
| * | | mii/manager: Make use of unused lower bound in GetRandomValue()Gravatar Lioncash2020-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | service: bcat: Check client connection before interacting with socket.Gravatar bunnei2020-10-161-0/+10
|/ / / | | | | | | | | | - Fixes a crash when BCAT service is offline.
* | | Merge pull request #4784 from bunnei/cancelbufferGravatar bunnei2020-10-153-14/+53
|\ \ \ | | | | | | | | hle: service: vi: Implement BufferQueue::CancelBuffer.
| * | | hle: service: vi: Implement BufferQueue::CancelBuffer.Gravatar bunnei2020-10-133-14/+53
| | | | | | | | | | | | | | | | - This is used by Super Mario 3D All-Stars.
* | | | service: acc: Stub IManagerForApplication::StoreOpenContext.Gravatar bunnei2020-10-141-1/+7
|/ / / | | | | | | | | | - Used by Super Mario 3D All-Stars.
* | / core/CMakeLists: Make some warnings errorsGravatar Lioncash2020-10-1328-132/+133
| |/ |/| | | | | | | | | | | | | | | 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.
* | Merge pull request #3929 from FearlessTobi/ticket-keysGravatar bunnei2020-10-122-32/+30
|\ \ | |/ |/| file_sys/nsp: Make SetTicketKeys actually do something
| * file_sys/nsp: Make SetTicketKeys actually do somethingGravatar FearlessTobi2020-07-182-32/+30
| | | | | | | | | | Previously, the method wasn't modifying any class state and therefore not having any effects when called. Since this has been the case for a very long time now, I'm not sure if we couldn't just remove this method altogether.
* | Merge pull request #4736 from Morph1984/home-button-input-protection-stubGravatar bunnei2020-10-074-2/+50
|\ \ | | | | | | hid: Stub HomeButtonInputProtection service commands
| * | hid: Stub HomeButtonInputProtection service commandsGravatar Morph2020-09-304-2/+50
| | | | | | | | | | | | - Used in 1-2 Switch. Given that we do not emulate the functionality of the home button yet, we can stub this for now.
* | | Merge pull request #4710 from Morph1984/fix-integrated-updatesGravatar bunnei2020-10-061-3/+22
|\ \ \ | | | | | | | | submission_package: Fix updates integrated into cartridge images.
| * | | submission_package: Fix updates integrated into cartridge images.Gravatar Morph2020-09-241-3/+22
| | | |
* | | | Merge pull request #4737 from Morph1984/setshimlibraryversion-stubGravatar bunnei2020-10-065-4/+38
|\ \ \ \ | | | | | | | | | | capsrv: Stub 3 variants of SetShimLibraryVersion
| * | | | caps_c: Stub SetShimLibraryVersionGravatar Morph2020-09-302-1/+18
| | | | | | | | | | | | | | | | | | | | - Used by caps_su SetShimLibraryVersion
| * | | | caps_u: Stub SetShimLibraryVersionGravatar Morph2020-09-302-2/+14
| | | | | | | | | | | | | | | | | | | | - Used in Super Smash Bros. Ultimate
| * | | | caps_su: Properly stub SetShimLibraryVersionGravatar Morph2020-09-301-1/+6
| | |/ / | |/| |
* | | | Merge pull request #4742 from german77/InputFilterGravatar bunnei2020-10-051-49/+58
|\ \ \ \ | | | | | | | | | | HID: Only use inputs corresponding to controller type
| * | | | Only use inputs corresponding to controller typeGravatar german2020-10-011-49/+58
| | | | |
* | | | | Merge pull request #4734 from german77/motionfusionGravatar bunnei2020-10-012-1/+15
|\ \ \ \ \ | |/ / / / |/| | | | HID: Add Stub for EnableSixAxisSensorFusion
| * | | | Stubbed EnableSixAxisSensorFusionGravatar german2020-09-302-1/+15
| | | | |
* | | | | Merge pull request #4291 from german77/ImplementControllerRumbleGravatar David2020-09-304-13/+25
|\ \ \ \ \ | | | | | | | | | | | | input_common: First implementation of controller rumble
| * | | | | First implementation of controller rumbleGravatar german2020-09-294-13/+25
| | | | | |
* | | | | | Merge pull request #4726 from lioncash/appletGravatar David2020-09-304-6/+15
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | frontend/controller: Eliminate dependency on the global system instance
| * | | | | core: Mark GetInstance() as deprecatedGravatar Lioncash2020-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way it's obvious that this function shouldn't be used in any future code.
| * | | | | frontend/controller: Eliminate dependency on the global system instanceGravatar Lioncash2020-09-253-5/+14
| |/ / / /
* | | | | Merge pull request #4705 from german77/SplitMotionPollerGravatar bunnei2020-09-305-76/+157
|\ \ \ \ \ | |_|/ / / |/| | | | HID: Use different timing for motion
| * | | | Use different timing for motionGravatar german2020-09-235-76/+157
| | | | |
* | | | | Merge pull request #1703 from DarkLordZach/nvdec-ioctlGravatar bunnei2020-09-294-3/+256
|\ \ \ \ \ | |_|/ / / |/| | | | nvdrv: Stub nvdec/vic ioctls to bypass nvdec movies
| * | | | service: nvhost_vic: Ignore Submit commands.Gravatar bunnei2020-06-042-1/+18
| | | | |
| * | | | nvdrv: Stub nvdec/vic ioctls to bypass nvdec moviesGravatar Zach Hilman2020-06-044-3/+239
| | | | |
* | | | | Merge pull request #4717 from lioncash/debugGravatar LC2020-09-251-0/+17
|\ \ \ \ \ | |_|_|/ / |/| | | | service: Restore "unused" function
| * | | | service: Restore "unused" functionGravatar Lioncash2020-09-251-0/+17
| | | | | | | | | | | | | | | | | | | | Turns out this function is actually used, but within a trace log.
* | | | | Merge pull request #4678 from Morph1984/LoadOpenContext-partial-implGravatar bunnei2020-09-243-1/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | acc: Partially implement LoadOpenContext
| * | | | acc: Stub LoadOpenContextGravatar Morph2020-09-213-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used in multiple games such as: - Clubhouse Games: 51 Worldwide Classics - Grandia HD Collection - XCOM 2 Collection - Baldur's Gate 1/2 - Dr Kawashima's Brain Training - Super Mario 3D All-Stars
* | | | | memory: Resolve a -Wdocumentation warningGravatar Lioncash2020-09-231-1/+1
| |/ / / |/| | | | | | | | | | | memory doesn't exist as a parameter any more.
* | | | General: Make use of std::nullopt where applicableGravatar Lioncash2020-09-2210-27/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.
* | | | ips_layer: Eliminate a redundant copy in Parse()Gravatar Lioncash2020-09-221-2/+4
| | | | | | | | | | | | | | | | Prevents unnecessary copying of the line being parsed.
* | | | Merge pull request #4675 from Morph1984/fix-boot-multicontentGravatar bunnei2020-09-211-5/+5
|\ \ \ \ | |/ / / |/| | | submission_package: Account for multi-content NSPs
| * | | submission_package: Account for multi-content NSPsGravatar Morph2020-09-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we assumed a submission package can only contain one Program NCA with a single TitleID. However, Super Mario 3D All-Stars contains four Program NCAs, each with their unique TitleIDs. This accounts for the existence of multi-content games such as this one. - Fixes booting Super Mario 3D All-Stars from the games list.
* | | | Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-implGravatar bunnei2020-09-203-5/+28
|\ \ \ \ | | | | | | | | | | hid: Implement Get/SetNpadHandheldActivationMode
| * | | | hid: Implement Get/SetNpadHandheldActivationModeGravatar Morph2020-09-183-5/+28
| |/ / / | | | | | | | | | | | | - Used in Clubhouse Games: 51 Worldwide Classics