| Age | Commit message (Collapse) | Author |
|
Updates the implementation of KLightConditionVariable to FW 12.x
|
|
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
|
|
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
|
|
- Prevents us from over decrementing num_sessions.
|
|
|
|
|
|
- Prevents a cloned session's handler from being overwritten by another disconnected session.
- Fixes session handler nullptr asserts with Pokemon Sword & Shield.
|
|
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
|
|
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
|
|
too early.
|
|
|
|
- We no longer need to queue up service threads to be destroyed.
- Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
|
|
hle: kernel: Refactor to allocate a ServiceThread per service handler.
|
|
|
|
|
|
dereference.
|
|
|
|
- Fixes some crashes introduced by our common intrusive red/black tree impl.
|
|
The result code classes are used quite extensively throughout both the
kernel and service HLE code. We can mark these member functions as
[[nodiscard]] to prevent a few logic bugs from slipping through.
|
|
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject.
- This results in race conditions with N sessions queuing requests to the same service interface.
- Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347.
|
|
input_common: Analog button, use time based position
|
|
|
|
- Used by Mii Edit
|
|
Transition to PascalCase for result names.
|
|
Transition to PascalCase for result names.
|
|
These macros all interact with the result code type, so they should
ideally be within this file as well, so all the common_funcs machinery
doesn't need to be pulled in just to use them.
|
|
core/memory: Check our memory fallbacks for out-of-bound behavior.
|
|
common: Extract Point struct into common
|
|
k_class_token: Use variable templates where applicable
|
|
|
|
applets/swkbd: Only read the text check message on Failure/Confirm
|
|
ldn: Add and stub lp2p:sys lp2p:app INetworkServiceMonitor INetworkService
Mario Kart Live: Home Circuit needs lp2p:sys lp2p:app INetworkServiceMonitor INetworkService to be able to progress.
Note: The game still fails to boot from unimplemented LDN and BSD services.
|
|
externals: Update dynarmic.
|
|
Same behavior, less code.
|
|
kernel: Add missing override specifiers
|
|
k_thread: Move dereference after null check in Initialize()
|
|
This makes it by far harder to crash yuzu.
Also implement the 48bit masking of AARCH64 while touching this code.
|
|
hle: kernel: KSlabHeap: Allow host or guest allocations.
|
|
We just create one memory subsystem. This is a constant all the time.
So there is no need to call the non-inlined parent.Memory() helper on every callback.
|
|
Over the course of the kernel refactoring a tiny bit of missing
overrides slipped through review, so we can add these.
While we're at it, we can remove redundant virtual keywords where
applicable as well.
|
|
std::move created an unneeded copy.
iterating without reference also created copies.
|
|
The new version supports fastmem on a64.
|
|
Prevents a -Wnonnull warning on GCC.
|
|
core/arm_interface: Call SVC after end of dynarmic block.
|
|
- Use host allocations for kernel memory, as this is not properly emulated yet.
- Use guest allocations for TLS, as this needs to be backed by DeviceMemory.
|
|
hid: ApplyNpadSystemCommonPolicy
|
|
|
|
This is generic enough that it can be moved into the Common class for
reuse.
|
|
Avoids redundant string copies
|
|
Applications may leave this region of memory uninitialized when the text check result is not either Failure or Confirm.
Attempting to read uninitialized memory may cause an exception within the UTF16 to UTF8 string converter.
Fix this by only reading the text check message on Failure or Confirm.
|