Lioncash
40ab2b9348
k_address_arbiter: Unfold R_UNLESS macros
Allows for more descriptive error messages and also doesn't hide
control-path exit returns from the reader.
5 years ago
Lioncash
b8fc74d74d
k_address_arbiter: Remove unnecessary usages of std::addressof
This is a useful function in a generic context or with types that
overload unary operator&. However, primitives and pointers will never do
this, so we can opt for a more straightforward syntax.
5 years ago
Lioncash
7b9c58880f
k_address_arbiter: Remove dead code
This code is never used, so we can remove it. It's in version control,
so it can always be brought back when needed.
5 years ago
Lioncash
75a60a6e22
svc: Provide more detailed error logs for svc functions
Allows SVC calls to have much more informative information during error
cases. This also doesn't hide control flow returns from the reader.
5 years ago
bunnei
ea4f62615e
hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.
5 years ago
bunnei
546af64340
hle: kernel: KAddressArbiter: Remove noisy error log.
5 years ago
bunnei
eba3c59a61
hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.
5 years ago
bunnei
ff3c7c068b
hle: kernel: Reimplement KReadableEvent and KWritableEvent.
5 years ago
bunnei
6bf80dfee0
hle: kernel: Implement KEvent.
5 years ago
bunnei
e9446d232f
hle: kernel: KAddressArbiter: Use R_UNLESS_NOLOG where applicable.
5 years ago
bunnei
3f942c01f0
hle: kernel: Rename WritableEvent to KWritableEvent.
5 years ago
bunnei
e86a7e3691
hle: kernel: Rename ReadableEvent to KReadableEvent.
5 years ago
Lioncash
756365386a
k_affinity_mask: Avoid implicit truncation to bool
This can cause compiler warnings. Instead, we can explicitly add a
boolean expression around it to naturally turn the result into a bool.
5 years ago
Lioncash
b944edc85d
k_priority_queue: Unfold several declval usages
Given these are only used as function existence checks, we can simplify
some usages of declval, given they aren't particularly useful here.
Reduces a few template instantiations, which at most reduces compile
times a tiny bit.
5 years ago
Lioncash
31e6e58101
k_priority_queue: Simplify affinity mask type alias
We can make use of the _t variants of the templates to cut down on a
little bit of verbosity.
5 years ago
Lioncash
53aec1fe2d
k_priority_queue: Resolved reserved identifier
An identifier containing a starting underscore followed by a capital
letter is reserved by the standard. It's trivial to avoid this by moving
the underscore to the end of the identifier.
While the likelihood of clashing here being minimal, we can turn a
"should not break" scenario into a definitive "will not break" one, so
why not?.
5 years ago
Morph
806e2d7900
key_manager: Create the keys directory if it does not exist
5 years ago
german
8019b2b9b5
Add footer types and address comments
5 years ago
german
9a9e81f2e9
Fix npad struct to match switchbrew
5 years ago
german
f30ef98761
Adds missing controller types and properties
5 years ago
Chloe Marcec
2c6e940493
Simplify limitableresource names
5 years ago
german
7784b1da6d
Prevent over scheduling audio events and terminate properly the motion update event
5 years ago
Morph
13b08376b7
IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEvent
5 years ago
Morph
9137f3ec68
settings: Log the cache, config, and mod load directories
5 years ago
Chloe Marcec
64c3582705
Compile error
5 years ago
Chloe Marcec
9e4b2d60bc
Address issues
5 years ago
MerryMage
821fc4a7b6
arm_dynarmic_32: Print out CPSR.T on exception
5 years ago
german
2489547dc5
Only update motion for npad and prevent over scheduling events
5 years ago
Morph
8c7d89e6c7
nifm: Stub GetCurrentIpConfigInfo
- Used by Lets Sing 12
5 years ago
Morph
7d9465d47a
prepo: Stub GetTransmissionStatus
5 years ago
Morph
2394807b42
prepo: Stub RequestImmediateTransmission
- Used by Animal Crossing: New Horizons
5 years ago
Morph
4bf1cf1f81
nifm: Stub GetCurrentNetworkProfile
- Used by Minecraft Bedrock Edition
- Used by Bloons TD 5
5 years ago
Morph
70a2065828
nifm: Add several structs
5 years ago
Morph
9f6b35e61f
am/IApplicationFunctions: Stub IsGamePlayRecordingSupported
Used by RetroArch
5 years ago
Morph
ded094a340
bsd: Fix EventFd stub
5 years ago
Morph
9914db8daa
nifm: Fix GetAppletInfo stub
5 years ago
Morph
6cc769065d
bsd: Fix GetSockOpt stub
5 years ago
ameerj
ad146eca60
bsd: Stub EventFd
Used by Family Feud
5 years ago
ameerj
99dcf7da21
am: Stub TryPopFromFriendInvitationStorageChannel
Used by Family Feud
5 years ago
Chloe Marcec
ee333e063d
fix compile error
5 years ago
Chloe Marcec
56742c6222
cleanup commenting
5 years ago
Chloe Marcec
7791cfd960
Drop m_ from lock
5 years ago
Chloe Marcec
3bf62c7a8a
Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailable
5 years ago
Chloe Marcec
3be1a565f8
kernel: Rewrite resource limit to be more accurate
Matches closer to hardware
5 years ago
german
9150b8972e
Stub GetSystemSessionId
5 years ago
bunnei
543e212554
hle: kernel: KLightLock: Fix several bugs.
5 years ago
bunnei
c8fe8247ee
arm: dynarmic: Reintroduce JIT checks on SaveContext/LoadContext.
5 years ago
bunnei
e24c6dab93
hle: kernel: KThread: Release thread resource on thread exit.
5 years ago
bunnei
10738839ad
yuzu: debugger: Ignore HLE threads.
5 years ago
bunnei
3856564727
hle: kernel: process: Add state lock.
5 years ago