| Age | Commit message (Collapse) | Author |
|
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future
|
|
Renames the members to more accurately indicate what they signify.
"OneShot" and "Sticky" are kind of ambiguous identifiers for the reset
types, and can be kind of misleading. Automatic and Manual communicate
the kind of reset type in a clearer manner. Either the event is
automatically reset, or it isn't and must be manually cleared.
The "OneShot" and "Sticky" terminology is just a hold-over from Citra
where the kernel had a third type of event reset type known as "Pulse".
Given the Switch kernel only has two forms of event reset types, we
don't need to keep the old terminology around anymore.
|
|
Updates function tables based off information from SwitchBrew.
|
|
In some cases, our callbacks were using s64 as a parameter, and in other
cases, they were using an int, which is inconsistent.
To make all callbacks consistent, we can just use an s64 as the type for
late cycles, given it gets rid of the need to cast internally.
While we're at it, also resolve some signed/unsigned conversions that
were occurring related to the callback registration.
|
|
file_sys: Implement parser and interpreter for game memory cheats
|
|
Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField
|
|
|
|
Allows frontend/features to access pressed buttons conveniently as possible
|
|
The SM namespace is within the Service namespace, so this was forward
declaring a type that didn't exist.
|
|
Gets rid of the largest set of mutable global state within the core.
This also paves a way for eliminating usages of GetInstance() on the
System class as a follow-up.
Note that no behavioral changes have been made, and this simply extracts
the functionality into a class. This also has the benefit of making
dependencies on the core timing functionality explicit within the
relevant interfaces.
|
|
Places all of the timing-related functionality under the existing Core
namespace to keep things consistent, rather than having the timing
utilities sitting in its own completely separate namespace.
|
|
This commit it automatically generated by command in zsh:
sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.)
BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter.
|
|
|
|
|
|
|
|
hid: Fix SetNpadJoyHoldType and improve logging.
|
|
- This was incorrect, the game appears to handle this for us.
- Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey.
|
|
|
|
kernel: Divide Event into ReadableEvent and WritableEvent
|
|
fixed crash due to handheld
|
|
|
|
|
|
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
|
|
npad: Use NPadIdToIndex to prevent invalid array access
|
|
|
|
|
|
services should now log on some level
|
|
Prevents memory exceptions when the debug pad is enabled.
|
|
|
|
|
|
Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled.
|
|
|
|
|
|
Used by developers to test games, not present on retail systems. Some games are known to respond to DebugPad input though, for example Kirby Star Allies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Currently unclear what these do yet, will be researched at a later time when we want to implement palma.
|