aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2021-03-05hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei
- Dummy threads are created on thread local storage for all host threads. - Fixes a leak by removing creation of fibers, which are not applicable here.
2021-03-05Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei
2021-03-04Merge pull request #6006 from bunnei/fiber-unique-ptrbunnei
core: Switch to unique_ptr for usage of Common::Fiber.
2021-02-28Merge pull request #6007 from bunnei/ldn-errorbunnei
core: hle: ldn: Error out on call to Initialization.
2021-02-27Merge pull request #5276 from german77/gesturesMorph
HID: Implement gestures
2021-02-27Implements touch, pan, pinch and rotation gesturesgerman
2021-02-27core: hle: ldn: Error out on call to Initialization.bunnei
- Since we do not emulate LDN, returning an error here makes more sense.
2021-02-27core: Switch to unique_ptr for usage of Common::Fiber.bunnei
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer.
2021-02-27Merge pull request #5953 from bunnei/memory-refactor-1bunnei
Kernel Rework: Memory updates and refactoring (Part 1)
2021-02-26Merge pull request #5944 from Morph1984/gc-vibrationsbunnei
hid: Implement GameCube Controller Vibrations
2021-02-21hid: Implement GameCube Controller VibrationsMorph
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
2021-02-21acc: Stub GetNintendoAccountUserResourceCacheForApplicationMorph
This command returns a Nintendo Account ID and writes 2 output buffers. The first output buffer is a NasUserBaseForApplication and the second output buffer is currently empty. Used by: - Pokken Tournament DX - Super Smash Bros. Ultimate - Super Nintendo Entertainment System - Nintendo Switch Online - Mario Kart 8 Deluxe
2021-02-20kernel: Fix resource release exception on exitameerj
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance. This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
2021-02-18hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei
2021-02-18hle: kernel: Migrate MemoryManager to KMemoryManager.bunnei
2021-02-18hle: kernel: Migrate PageLinkedList to KPageLinkedList.bunnei
2021-02-18hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.bunnei
2021-02-18hle: kernel: Migrate SlabHeap to KSlabHeap.bunnei
2021-02-18hle: kernel: Migrate MemoryLayout to KMemoryLayout.bunnei
2021-02-18hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.bunnei
2021-02-18hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.bunnei
2021-02-18hle: kernel: KSystemControl does not belong in Memory namespace.bunnei
2021-02-18hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.bunnei
2021-02-18hle: kernel: Add KPageBitmap class.bunnei
2021-02-18hle: kernel: system_control: Add function GenerateRandomU64.bunnei
2021-02-18hle: kernel: Add KSpinLock implementation.bunnei
2021-02-18hle: kernel: Rename SharedMemory to KSharedMemory.bunnei
2021-02-18Merge pull request #4973 from ameerj/nvdec-optbunnei
nvdec: Reuse allocated buffers and general cleanup
2021-02-15Merge pull request #4940 from german77/nativeGCbunnei
HID: Implement GC controller in game
2021-02-13hle: service: ldn: IUserLocalCommunicationService: Improve the stub.bunnei
2021-02-13hle: service: ldn: IUserLocalCommunicationService: Indicate that LDN is ↵bunnei
disabled. - Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
2021-02-13hle: service: am: IStorageAccessor: Fix out of bounds error handling.bunnei
2021-02-13Address PR feedbackameerj
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
2021-02-13nvdec cleanupameerj
2021-02-12kernel: More accurately reserve and release resourcesameerj
2021-02-12kernel: KScopedReservation implementationameerj
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
2021-02-12kernel: Unify result codes (#5890)Chloe
* kernel: Unify result codes Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways. * oops * rename errors to svc_results
2021-02-11Merge pull request #5902 from lioncash/core-warnbunnei
core: Silence various warnings on Clang 12
2021-02-10software_keyboard: Implement Finalize request commandMorph
2021-02-09bsd: Remove usage of optional emplace() with no argumentsLioncash
Clang 12 currently falls over in the face of this.
2021-02-09am/controller: Remove [[fallthrough]] from unreachable pathLioncash
Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro.
2021-02-09nfp: Correct uninitialized size being used within GetTagInfo()Lioncash
We were previously the name of the object being initialized within its own initializer, which results in uninitialized data being read.
2021-02-08Merge pull request #5892 from german77/backupbunnei
olsc: Stub GetSaveDataBackupSetting
2021-02-08Merge pull request #5868 from german77/HandheldFixbunnei
Prevent over scheduling audio events and add motion update unschedule event
2021-02-07hid: Implement GC controllergerman
2021-02-07olsc: Stub GetSaveDataBackupSettinggerman
2021-02-08Merge pull request #5872 from lioncash/svc-errorChloe
svc: Provide more detailed error logs for svc functions
2021-02-07Merge pull request #5887 from ogniK5377/lm-fixbunnei
lm: Fix ReadLeb128
2021-02-07Merge pull request #5878 from aleasto/masterMorph
pl_u: Fix read out of bounds
2021-02-07lm: Fix ReadLeb128Chloe Marcec
Fixes assertion on Bloodstained Ritual of the Night. We would over read sometimes, this is fixed by checking if the top bit is set in the first iteration. We also lock the loop off to be only the max size of the type we can fit. Finally we changed an incorrect print of "DEBUG" to "TRACE" to reflect the proper log severity