bunnei
cafc6c3707
hle: kernel: Add KPageBitmap class.
5 years ago
bunnei
d072e9b977
hle: kernel: system_control: Add function GenerateRandomU64.
5 years ago
bunnei
c51da1b0d5
hle: kernel: Add KSpinLock implementation.
5 years ago
bunnei
a706a6a08e
core: memory: Add templated GetPointer methods.
5 years ago
bunnei
f8d8755776
hle: kernel: Rename SharedMemory to KSharedMemory.
5 years ago
bunnei
1c8d749458
core: core_timing_util: Optimize core timing math.
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
5 years ago
Morph
57738090f7
core/CMakeLists: Add web_types.h
5 years ago
bunnei
b950e28dfa
hle: service: ldn: IUserLocalCommunicationService: Improve the stub.
5 years ago
bunnei
5fc36d40f8
hle: service: ldn: IUserLocalCommunicationService: Indicate that LDN is disabled.
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
5 years ago
bunnei
909c60e51e
hle: service: am: IStorageAccessor: Fix out of bounds error handling.
5 years ago
ameerj
c0ccf9eac5
Address PR feedback
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
5 years ago
ameerj
be6c487b4e
nvdec cleanup
5 years ago
ameerj
faae6b5595
kernel: More accurately reserve and release resources
5 years ago
ameerj
48b09cc56d
kernel: KScopedReservation implementation
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
5 years ago
Chloe
e62886ead0
kernel: Unify result codes ( #5890 )
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
5 years ago
Morph
118e33cfa9
software_keyboard: Implement Finalize request command
5 years ago
lat9nq
51b74a317b
core: Add -fsized-dealloction as a Clang flag
Prevents a operator delete error when compiling with Clang 11.
5 years ago
Lioncash
2f9cc2f0ae
bsd: Remove usage of optional emplace() with no arguments
Clang 12 currently falls over in the face of this.
5 years ago
Lioncash
771865bdfc
am/controller: Remove [[fallthrough]] from unreachable path
Prevents warnings on clang 12. This path is reachable on other
variations of the build that disable the unreachable macro.
5 years ago
Lioncash
32e763c64c
nfp: Correct uninitialized size being used within GetTagInfo()
We were previously the name of the object being initialized within its
own initializer, which results in uninitialized data being read.
5 years ago
german
020c22f53d
hid: Implement GC controller
5 years ago
german
0210c4e219
olsc: Stub GetSaveDataBackupSetting
5 years ago
german
c7cae8769f
Add mouse panning
5 years ago
Chloe Marcec
937aa8908b
lm: Fix ReadLeb128
Fixes assertion on Bloodstained Ritual of the Night.
We would over read sometimes, this is fixed by checking if the top bit is set in the first iteration. We also lock the loop off to be only the max size of the type we can fit. Finally we changed an incorrect print of "DEBUG" to "TRACE" to reflect the proper log severity
5 years ago
Alessandro Astone
60353d70af
pl_u: Fix read out of bounds
5 years ago
german
93ac87f29e
Make settings controller image change with controller input
5 years ago
Lioncash
6764c7ce52
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
8884e73c8b
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
c8cc1c301e
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
8618ac9b8b
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
7126a200c4
hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.
5 years ago
bunnei
308995e446
hle: kernel: KAddressArbiter: Remove noisy error log.
5 years ago
bunnei
9c2719d86f
hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.
5 years ago
bunnei
0508831455
hle: kernel: Reimplement KReadableEvent and KWritableEvent.
5 years ago
bunnei
9da7b774ae
hle: kernel: Implement KEvent.
5 years ago
bunnei
80a509355c
hle: kernel: KAddressArbiter: Use R_UNLESS_NOLOG where applicable.
5 years ago
bunnei
80d0eb3bbd
hle: kernel: Rename WritableEvent to KWritableEvent.
5 years ago
bunnei
284a4d9283
hle: kernel: Rename ReadableEvent to KReadableEvent.
5 years ago
Lioncash
7da83ef6f7
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
9fb1a47658
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
8170435ec5
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
4431b499d0
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
53d62eb9bd
key_manager: Create the keys directory if it does not exist
5 years ago
german
5809b8941e
Add footer types and address comments
5 years ago
german
5c9d8e8f39
Fix npad struct to match switchbrew
5 years ago
german
1f204e5930
Adds missing controller types and properties
5 years ago
Chloe Marcec
6ff08eb44f
Simplify limitableresource names
5 years ago
german
e0c83e305a
Prevent over scheduling audio events and terminate properly the motion update event
5 years ago
Morph
922d1556a0
IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEvent
5 years ago
Morph
c21d343b04
settings: Log the cache, config, and mod load directories
5 years ago