aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-05-18KTransferMemory: Return size instead of size * PageSize in GetSize()Morph
size is already the size in bytes. We do not need to multiply it by the page size
2021-05-18hid/gesture: Factor out last gesture retrieval into its own functionLioncash
Deduplicates a commonly repeated expression.
2021-05-18hid/gesture: Ensure all ID arrays are initializedLioncash
Makes for deterministic initial state.
2021-05-18hid/gesture: Make Point a templateLioncash
We can now use this in a generic context to reuse it with the finger position.
2021-05-18hid/gesture: Replace x,y members of GestureState with a PointLioncash
Simplifies assignments.
2021-05-18hid/gesture: Add default comparators to PointLioncash
Simplifies some comparisons.
2021-05-18hid/gesture: Rename Points to PointLioncash
This only represents a single point
2021-05-17general: Demote custom_rtc to regular settinglat9nq
2021-05-16Merge pull request #6319 from Morph1984/no-install-basebunnei
main: Prevent installing base titles into NAND
2021-05-16Merge pull request #6284 from ameerj/shantae-fixbunnei
nvflinger: Create layers when they are queried but not found
2021-05-16Merge pull request #6296 from lioncash/shadow-errorbunnei
core: Make variable shadowing a compile-time error
2021-05-16Merge pull request #6307 from Morph1984/fix-response-push-sizebunnei
nifm, ssl: Fix incorrect response sizes
2021-05-16main: Prevent installing base titles into NANDMorph
Many users have been installing their base titles into NAND instead of adding them into the games list. This prevents users from installing any base titles and warns the user about the action.
2021-05-16hle_ipc: unsigned -> u32Morph
This is more concise and consistent with the rest of the codebase.
2021-05-16hle_ipc: Add a getter for PIDMorph
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-05-15Merge pull request #6299 from bunnei/ipc-improvementsbunnei
Various improvements to IPC and session management
2021-05-16nifm, ssl: Fix incorrect response sizesMorph
2021-05-15general: Make CPU accuracy and related a Settings::Settinglat9nq
Required to make CPU accuracy and unsafe settings available to use as a per-game setting.
2021-05-15perf_stats: Rework FPS counter to be more accurateameerj
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case. This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics. The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values. The status bar update frequency was also changed from 2 seconds to 500ms.
2021-05-12ssl: Stub Import(Client/Server)PkiMorph
- Used in JUMP FORCE Deluxe Edition
2021-05-12Merge pull request #6267 from german77/gestureRewriteMorph
hid: Improve hardware accuracy of gestures
2021-05-11hle: kernel: hle_ipc: Fix outgoing IPC response size calculation.bunnei
2021-05-11WORKAROUND: temp. disable session resource limits while we work out issuesbunnei
2021-05-11WORKAROUND: Do not use slab heap while we track down issues with resource ↵bunnei
management.
2021-05-11audrenbunnei
2021-05-10core: hle: ipc_helpers: Fix cast on raw_data_size calculation.bunnei
2021-05-10hle: service: sm: Add TIPC support.bunnei
- Fixes our error checking of names as well.
2021-05-10hle: kernel: hle_ipc: Improve IPC code and add initial support for TIPC.bunnei
- Fixes our move handles implementation to actually move objects. - Simplifies the traditional IPC path.
2021-05-10hle: service: sm: GetService: Reserve session resource when we create a ↵bunnei
KSession.
2021-05-10hle: service: Add support for dispatching TIPC requests.bunnei
2021-05-10hle: service: Implement IPC::CommandType::Close.bunnei
- This was not actually closing sessions before.
2021-05-10hle: service: sm: Use RegisterNamedService to register the service.bunnei
2021-05-10hle: service: sm: Improve Initialize implementation.bunnei
2021-05-10hle: kernel: svc: Update ConnectToNamedPort to use new ↵bunnei
CreateNamedServicePort interface.
2021-05-10hle: kernel: Implement named service ports using service interface factory.bunnei
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
2021-05-10hle: kernel: KSession: Improve implementation of CloneCurrentObject.bunnei
2021-05-10hle: service: sm: Increase point buffer size.bunnei
2021-05-10hle: ipc_helpers: Reserve session resource when we create a KSession.bunnei
2021-05-10hle: kernel: KClientPort: Cleanup comment format.bunnei
2021-05-10hle: ipc: Add declarations for TIPC.bunnei
2021-05-10hle: kernel: Further cleanup and add TIPC helpers.bunnei
2021-05-10hle: ipc_helpers: Update IPC response generation for TIPC.bunnei
2021-05-09Merge pull request #6291 from lioncash/kern-shadowbunnei
kernel: Eliminate variable shadowing
2021-05-09kernel: Delete unused filesgerman77
2021-05-08kernel: Eliminate variable shadowingLioncash
Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases.
2021-05-07Merge pull request #6266 from bunnei/kautoobject-refactorbunnei
Kernel Rework: Migrate kernel objects to KAutoObject
2021-05-07Merge pull request #6287 from lioncash/ldr-copybunnei
ldr: Simplify memory copy within LoadNro()
2021-05-06ldr: Simplify memory copy within LoadNro()Lioncash
We can use the dedicated memory function for performing copies instead of reading into a temporary buffer and then immediately writing it back out to memory. Eliminates a bit of heap memory churn.
2021-05-06nvflinger: Create layers when they are queried but not foundameerj
Fixes Shantae softlock on boot.