aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-04-07video_core/gpu_thread: Implement a ShutDown method.Markus Wick
This was implicitly done by `is_powered_on = false`, however the explicit method allows us to block until the GPU is actually gone. This should fix a race condition while removing the other subsystems while the GPU is still active.
2021-04-07Merge pull request #6153 from lioncash/svcrangebunnei
process_capability: Handle extended SVC range
2021-04-07hwopus: Update to 12.xMorph
2021-04-07process_capability: Handle extended SVC rangeLioncash
12.x extended the range of SVC IDs, so we need to expand the range of bits that need to be tested. The upside of this is that we can eliminate a range check, given the whole range is used.
2021-04-02Merge pull request #6132 from MerryMage/code_sizebunnei
arm_dynarmic: Increase size of code cache
2021-04-02Merge pull request #6131 from german77/rightjoyconSLSRMorph
HID: Fix SL and SR buttons for right joycon
2021-04-02arm_dynarmic: Increase size of code cacheMerryMage
2021-04-02HID: Fix SL and SR buttons for right joycongerman77
2021-04-01Merge pull request #6106 from MerryMage/nullptr-jitbunnei
[test] arm_dynarmic: Always have a 'valid' jit instance
2021-03-30ISelfController: Stub SetAlbumImageTakenNotificationEnabledMorph
This service call sets an internal flag whether a notification is shown when an image is captured. Currently we do not support capturing images via the capture button, so this can be stubbed for now.
2021-03-29Merge pull request #6109 from german77/gestureIDbunnei
HID: Initialize correctly the gesture finger_id and filter invalid inputs
2021-03-29Merge pull request #6102 from ogniK5377/fd-passbunnei
nvdrv: Pass device fd and handle device create methods for device opening and closing
2021-03-28Merge pull request #6115 from bunnei/fix-kernel-initbunnei
hle: kernel: Initialize preemption task after schedulers.
2021-03-27hle: kernel: Initialize preemption task after schedulers.bunnei
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
2021-03-27service: friend: Change logging class from ACC to FriendMorph
2021-03-26HID: Initialize correctly the gesture finger_id and filter invalid resultsNarr the Reg
2021-03-25nvdrv: Pass device fd and handle device create methods for device opening ↵Chloe Marcec
and closing We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
2021-03-24Merge pull request #6101 from ogniK5377/alloc-as-exbunnei
nvdrv: Change InitializeEx to AllocAsEx
2021-03-24arm_dynarmic: Always have a 'valid' jit instanceMerryMage
2021-03-22nvdrv: Change InitializeEx to AllocAsExChloe Marcec
Wee also report the correct "big page size" now in GetVARegions & fix up the struct for IoctlAllocAsEx
2021-03-21core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes.bunnei
- We re-create the JIT here without preserving any state.
2021-03-19Merge pull request #6052 from Morph1984/vi-getindirectlayerimagemapbunnei
IApplicationDisplayService: Stub GetIndirectLayerImageMap
2021-03-18Merge pull request #6056 from zkitX/spl-updatesbunnei
service: Refactor spl
2021-03-17IApplicationDisplayService: Stub GetIndirectLayerImageMapMorph
Used by games invoking the inline software keyboard such as GNOSIA
2021-03-16Merge pull request #6070 from Morph1984/sysver-11.0.1bunnei
system_version: Update to 11.0.1
2021-03-16bsd: Avoid writing empty buffersMorph
Silences log spam on empty buffer writes
2021-03-15Merge pull request #6069 from Morph1984/ngWordbunnei
system_archive: Update NgWord archive version
2021-03-14system_version: Update to 11.0.1Morph
2021-03-14system_archive: Update NgWord archive versionMorph
2021-03-13Merge pull request #6054 from Morph1984/time-GetClockSnapshotbunnei
time: Assign the current time point to the ClockSnapshot
2021-03-11Fix casing on DeallocateAesKeySlotzkitx
2021-03-11Update SPL to fit N's service refactor (4.0.0+) which split into new services.zkitx
2021-03-10time: Fix CalculateSpanBetween implementationMorph
CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments. Partially fixes Super Smash Bros. Ultimate's Spirit Board
2021-03-10time: Assign the current time point to the ClockSnapshotMorph
Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
2021-03-07common: Fiber: use a reference for YieldTo.bunnei
- Fixes another small leak.
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-05Merge pull request #6034 from Morph1984/mbedtlsbunnei
externals: Update mbedtls to 2.16.9
2021-03-04Merge pull request #6006 from bunnei/fiber-unique-ptrbunnei
core: Switch to unique_ptr for usage of Common::Fiber.
2021-03-05aes_util: Remove malformed mbedtls_cipher_finish function callMorph
2021-03-02Merge pull request #5815 from comex/net-error-reformbunnei
Network error handling reform
2021-03-01core: Shutdown: Move kernel cleanup to later in shutdown.bunnei
- Fixes a shutdown crash due to a race condition with GPU still accessing memory.
2021-02-28[network] Error handling reformcomex
`network.cpp` has several error paths which either: - report "Unhandled host socket error=n" and return `SUCCESS`, or - switch on a few possible errors, log them, and translate them to Errno; the same switch statement is copied and pasted in multiple places in the code Convert these paths to use a helper function `GetAndLogLastError`, which is roughly the equivalent of one of the switch statements, but: - handling more cases (both ones that were already in `Errno`, and a few more I added), and - using OS functions to convert the error to a string when logging, so it'll describe the error even if it's not one of the ones in the switch statement. - To handle this, refactor the logic in `GetLastErrorMsg` to expose a new function `NativeErrorToString` which takes the error number explicitly as an argument. And improve the Windows version a bit. Also, add a test which exercises two random error paths.
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