bunnei
14f50729e2
hle: kernel: hle_ipc: Simplify incoming/outgoing move/copy/domain objects.
5 years ago
bunnei
6e3c9d2b06
hle: kernel: Implement CloneCurrentObject and improve session management.
5 years ago
bunnei
7b1c7a5e6a
Revert "WORKAROUND: temp. disable session resource limits while we work out issues"
This reverts commit 627eaf8c0e .
5 years ago
Morph
bf87c33d40
KTransferMemory: Return size instead of size * PageSize in GetSize()
size is already the size in bytes. We do not need to multiply it by the page size
5 years ago
lat9nq
d6c9f6acc5
general: Demote custom_rtc to regular setting
5 years ago
Morph
c3bb08ad31
main: Prevent installing base titles into NAND
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.
5 years ago
Morph
c4f16c8e14
hle_ipc: unsigned -> u32
This is more concise and consistent with the rest of the codebase.
5 years ago
Morph
29ce6e48ed
hle_ipc: Add a getter for PID
5 years ago
Lioncash
eeae5217ba
core: Make variable shadowing a compile-time error
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.
5 years ago
Morph
0fdff05afa
nifm, ssl: Fix incorrect response sizes
5 years ago
lat9nq
065b3eb53a
general: Make CPU accuracy and related a Settings::Setting
Required to make CPU accuracy and unsafe settings available to use as a
per-game setting.
5 years ago
ameerj
453e90ef6f
perf_stats: Rework FPS counter to be more accurate
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.
5 years ago
Morph
46f773ad5c
ssl: Stub Import(Client/Server)Pki
- Used in JUMP FORCE Deluxe Edition
5 years ago
bunnei
006a51c86b
hle: kernel: hle_ipc: Fix outgoing IPC response size calculation.
5 years ago
bunnei
627eaf8c0e
WORKAROUND: temp. disable session resource limits while we work out issues
5 years ago
bunnei
bb77b5d79f
WORKAROUND: Do not use slab heap while we track down issues with resource management.
5 years ago
bunnei
2a7b1c1424
audren
5 years ago
bunnei
a21dff4980
core: hle: ipc_helpers: Fix cast on raw_data_size calculation.
5 years ago
bunnei
1c07b56283
hle: service: sm: Add TIPC support.
- Fixes our error checking of names as well.
5 years ago
bunnei
232102c794
hle: kernel: hle_ipc: Improve IPC code and add initial support for TIPC.
- Fixes our move handles implementation to actually move objects.
- Simplifies the traditional IPC path.
5 years ago
bunnei
0f3b6928ab
hle: service: sm: GetService: Reserve session resource when we create a KSession.
5 years ago
bunnei
fe91306d87
hle: service: Add support for dispatching TIPC requests.
5 years ago
bunnei
80d920e464
hle: service: Implement IPC::CommandType::Close.
- This was not actually closing sessions before.
5 years ago
bunnei
e9d3612085
hle: service: sm: Use RegisterNamedService to register the service.
5 years ago
bunnei
11413d71ad
hle: service: sm: Improve Initialize implementation.
5 years ago
bunnei
6e284d951b
hle: kernel: svc: Update ConnectToNamedPort to use new CreateNamedServicePort interface.
5 years ago
bunnei
777e7c52ba
hle: kernel: Implement named service ports using service interface factory.
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
5 years ago
bunnei
14e52144e2
hle: kernel: KSession: Improve implementation of CloneCurrentObject.
5 years ago
bunnei
1e211a1b15
hle: service: sm: Increase point buffer size.
5 years ago
bunnei
66c7c7e5ab
hle: ipc_helpers: Reserve session resource when we create a KSession.
5 years ago
bunnei
2c9d6156d2
hle: kernel: KClientPort: Cleanup comment format.
5 years ago
bunnei
29a31e30db
hle: ipc: Add declarations for TIPC.
5 years ago
bunnei
4a781928dd
hle: kernel: Further cleanup and add TIPC helpers.
5 years ago
bunnei
ae86003503
hle: ipc_helpers: Update IPC response generation for TIPC.
5 years ago
german77
1b8951c31b
kernel: Delete unused files
5 years ago
Lioncash
e019da0487
kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
5 years ago
Lioncash
6890201733
ldr: Simplify memory copy within LoadNro()
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.
5 years ago
ameerj
16528cb361
nvflinger: Create layers when they are queried but not found
Fixes Shantae softlock on boot.
5 years ago
bunnei
afdbfb884c
hle: kernel: KPageTable: CanContain should not be constexpr.
5 years ago
bunnei
14cb6883db
hle: kernel: Move slab resource counts to Kernel.
5 years ago
bunnei
720906d0a5
fixup! hle: kernel: Migrate KSharedMemory to KAutoObject.
5 years ago
bunnei
37338198be
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
636dd1917e
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
0cbeafef3e
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
4ebb8f0dfe
kernel: svc: Remove unused RetrieveResourceLimitValue function.
5 years ago
bunnei
89966df98c
hle: kernel: Fix un/sign mismatch errors with NUM_CPU_CORES.
5 years ago
bunnei
fd11e0722b
fixup! hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
7341a973df
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
464b640058
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
3fa3fa47e5
fixup! hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
5 years ago