Morph
ba883c8c84
caps_c: Stub SetShimLibraryVersion
- Used by caps_su SetShimLibraryVersion
5 years ago
Morph
e1d561f647
caps_u: Stub SetShimLibraryVersion
- Used in Super Smash Bros. Ultimate
5 years ago
Morph
a03d4d663c
caps_su: Properly stub SetShimLibraryVersion
5 years ago
Morph
f3e928bb6a
hid: Stub HomeButtonInputProtection service commands
- Used in 1-2 Switch. Given that we do not emulate the functionality of the home button yet, we can stub this for now.
5 years ago
german
782aab6cf2
First implementation of controller rumble
6 years ago
Lioncash
dba567cfbf
core: Mark GetInstance() as deprecated
This way it's obvious that this function shouldn't be used in any future
code.
5 years ago
Lioncash
9861290969
frontend/controller: Eliminate dependency on the global system instance
5 years ago
Lioncash
711c5c7bdf
service: Restore "unused" function
Turns out this function is actually used, but within a trace log.
5 years ago
Morph
58f0798f1f
submission_package: Fix updates integrated into cartridge images.
5 years ago
german
c3fb504201
Use different timing for motion
5 years ago
Lioncash
3abd28c35a
memory: Resolve a -Wdocumentation warning
memory doesn't exist as a parameter any more.
5 years ago
Lioncash
e457001dce
General: Make use of std::nullopt where applicable
Allows some implementations to avoid completely zeroing out the internal
buffer of the optional, and instead only set the validity byte within
the structure.
This also makes it consistent how we return empty optionals.
5 years ago
Lioncash
485eec243d
ips_layer: Eliminate a redundant copy in Parse()
Prevents unnecessary copying of the line being parsed.
5 years ago
Morph
152b529a00
acc: Stub LoadOpenContext
This is used in multiple games such as:
- Clubhouse Games: 51 Worldwide Classics
- Grandia HD Collection
- XCOM 2 Collection
- Baldur's Gate 1/2
- Dr Kawashima's Brain Training
- Super Mario 3D All-Stars
5 years ago
Morph
505ce79b9d
hid: Implement Get/SetNpadHandheldActivationMode
- Used in Clubhouse Games: 51 Worldwide Classics
5 years ago
Morph
5435e0ee39
am: Stub GetPreviousProgramIndex
- Used in Super Mario 3D All-Stars
5 years ago
Morph
0b72422a10
submission_package: Account for multi-content NSPs
Previously we assumed a submission package can only contain one Program NCA with a single TitleID.
However, Super Mario 3D All-Stars contains four Program NCAs, each with their unique TitleIDs.
This accounts for the existence of multi-content games such as this one.
- Fixes booting Super Mario 3D All-Stars from the games list.
5 years ago
Lioncash
45a608088c
nfp: Eliminate two unnecessary copies
GetAmiiboBuffer() returns by const reference, so we can use a reference
instead of taking the returned buffer by value.
5 years ago
Lioncash
4d0fa3544f
arm_dynarmic_cp15: Initialize member variables
Ensures that the member variables are always initialized to a
deterministic value on creation.
5 years ago
Lioncash
43a09c9bfc
control_metadata: Resolve typo in Portuguese language name
This isn't used anywhere, so this is a trivial fix.
5 years ago
Lioncash
341c612474
service: Remove unused funcation
This is now completely unused, so it can be removed.
5 years ago
Lioncash
e4747039da
service/sm: Slightly more efficient string name validation
We can check the end of the string first for null-termination, rather
than the beginning of the string.
5 years ago
Lioncash
95e8dff0d7
service/sm: Eliminate dependency on the global system instance
5 years ago
Lioncash
7824da5961
file_sys/romfs_factory: Eliminate usage of the global system accessor
5 years ago
Lioncash
e45b727db5
file_sys/bis_factory: Eliminate usage of the global system accessor
5 years ago
Lioncash
279b79c880
loader/nso: Remove unnecessary [[maybe_unused]]
5 years ago
Lioncash
bcb796ee92
core/loader: Remove dependencies on the global system instance
Now all that remains is:
18 instances in file_sys code
14 instances in GDB stub code (this can be tossed wholesale)
4 instances in HLE code
2 instances in settings code.
5 years ago
Lioncash
80e57658ac
nca_patch: Significantly reduce the stack usage size within SearchBucketEntry()
Previously this function was using ~16KB of stack (16528 bytes), which
was caused by the function arguments being taken by value rather than by
reference.
We can make this significantly lighter on the stack by taking them by
reference.
5 years ago
Lioncash
a92c6ddd22
nca_patch: Make SearchBucketEntry() internally linked
This is only used internally and doesn't depend on any class state, so
we can make it fully internal.
5 years ago
Lioncash
15fa8f52fc
cheat_engine: Convert ExtractName into a non-template function
We don't need to create two separate instantiations of the same code, we
can simply make the character template argument a regular function
parameter.
5 years ago
Lioncash
6711031e7d
cheat_engine: Remove unnecessary system argument to CheatParser's Parse function
This isn't used within the function at all in any implementations, so we
can remove it entirely.
5 years ago
Lioncash
5c77fffc80
patch_manager: Resolve implicit truncations in FormatTitleVersion()
We make it explicit that we're truncating arithmetic here to resolve
compiler warnings (even if the sizes weren't u32/u64 arithmetic
generally promotes to int :<)
5 years ago
Lioncash
7abb47303e
patch_manager: Make use of type aliases
We can use these to avoid typing the same type redundantly. This way, if
these ever change, only a single location needs to be modified.
5 years ago
Lioncash
e8092e4099
patch_manager: Make a few functions internally linked
These functions are only used within this translation unit, so we can
make them internally linked.
5 years ago
Lioncash
767fcd8a81
crypto/key_manager: Remove dependency on the global system accessor
We can supply the content provider as an argument instead of hardcoding
a global accessor in the implementation.
5 years ago
Lioncash
f700c48cc0
kernel: Remove all dependencies on the global system instance
With this, the kernel finally doesn't depend directly on the global
system instance anymore.
5 years ago
FearlessTobi
b3d2fd39d3
Test: Decrease pad_update_ns
There have been reports of quite heavy input lag in the past.
Compared to Citra for example, our pad_update_ns value is very high.
So let's decrease it and see if it helps with this problem.
5 years ago
Lioncash
054735e3fe
service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
5 years ago
Lioncash
b1c64e8c4f
bsd: Resolve unused value within SendToImpl
Previously the address provided to SendToImpl would never be propagated
to SendTo(). This fixes that.
5 years ago
Lioncash
0bf0d9d3c3
bsd: Resolve sign comparison warnings
5 years ago
Lioncash
3467cfb357
sockets_translate: Make use of designated initializers
Same behavior, less typing.
5 years ago
Lioncash
2c196e7c6e
blocking_worker: Make use of templated lambda
We can simplify this a little by explicitly specifying the typename for
the lambda function.
5 years ago
Lioncash
0d180e23f0
blocking_worker: Resolve -Wdocumentation warning
5 years ago
ReinUsesLisp
8efb2c5537
video_core: Remove all Core::System references in renderer
Now that the GPU is initialized when video backends are initialized,
it's no longer needed to query components once the game is running: it
can be done when yuzu is booting.
This allows us to pass components between constructors and in the
process remove all Core::System references in the video backend.
6 years ago
Morph
55db7a4e0a
configure_input: Hook up the motion button and checkbox
This allows toggling motion on or off, and allows access to the motion configuration.
Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
5 years ago
german
82eb4be33b
Add cemu hook changes related to PR #4609
5 years ago
german
17b48f8d42
Remove RealMotionDevice
5 years ago
Morph
a04a7174c7
controllers/npad: Simplify motion entry assignment
Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon.
5 years ago
german
876e6fc255
Include HID and configuration changes related to motion
5 years ago
Morph
ce1c6f2eea
hid: Implement MergeSingleJoyasDualJoy
- Used in multiple games such as Super Mario Odyssey.
5 years ago