Rodrigo Locatti
d05ab5ec3c
Merge pull request #4658 from lioncash/copy3
nca_patch: Reduce stack usage size within SearchBucketEntry()
5 years ago
Rodrigo Locatti
cbd5c72af8
Merge pull request #4657 from lioncash/cheatparser
cheat_engine: Remove unnecessary system argument to CheatParser's Parse function
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
Rodrigo Locatti
5dbae278f4
Merge pull request #4655 from lioncash/internal2
patch_manager: Minor cleanup
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
Rodrigo Locatti
98b0e84795
Merge pull request #4652 from lioncash/crypto
crypto/key_manager: Remove dependency on the global system accessor
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
Rodrigo Locatti
683ace1044
Merge pull request #4651 from lioncash/kernel-global
kernel: Remove all dependencies on the global system instance
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
bunnei
35a0ff1d6f
Merge pull request #4636 from lioncash/kernel-hle
service: Remove two usages of the global system accessor
5 years ago
bunnei
7b536a07f2
Merge pull request #4323 from ReinUsesLisp/no-spin
kernel/scheduler: Use std::mutex instead of spin lock
5 years ago
bunnei
9335040d4f
Merge pull request #4645 from v1993/lgtm-less-packages
Remove bad and useless packages from LGTM build
5 years ago
bunnei
de30e3b57a
Merge pull request #4638 from Morph1984/qt-5.12.8
cmake: Update to Qt 5.12.8
5 years ago
bunnei
cbe7cdf7ca
Merge pull request #4634 from lioncash/blocking
bsd: Resolve a few warnings
5 years ago
bunnei
b205c01a95
Merge pull request #4310 from ogniK5377/apollo-1-prod
audio_core: Apollo Part 1, AudioRenderer refactor
5 years ago
Valeri
f240d78918
Remove bad and useless packages from LGTM build
It still fails due to CMake version being 3.13.4, but at
least we are not ones to blame now.
5 years ago
bunnei
c2ad9f6fc9
Merge pull request #4597 from Morph1984/mjolnir-p2
Project Mjölnir: Part 2 - Controller Applet
5 years ago
bunnei
0e021082fc
Merge pull request #4608 from lioncash/sign3
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
5 years ago
Rodrigo Locatti
8fcafa37a8
Merge pull request #4633 from ReinUsesLisp/gpu-init
video_core: Remove all Core::System references in renderer
5 years ago
bunnei
bf5a3a9403
Merge pull request #4635 from lioncash/gc-adap
gc_adapter: Make DeviceConnected() a const member function
5 years ago
Morph
35bddd9211
cmake: Update to Qt 5.12.8
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
14d5340a9d
gc_adapter: Make DeviceConnected() a const member function
This doesn't modify instance state, so it can be made const.
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
bunnei
16737bc8b6
Merge pull request #4606 from lioncash/constexpr
game_list_p: Mark some constants as constexpr
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
bunnei
a6945afa54
Merge pull request #4397 from ReinUsesLisp/bsd
services: Implement most of bsd:s and GetCurrentIpAddress from nifm
5 years ago
LC
3a440abc86
Merge pull request #4629 from Morph1984/mergesinglejoyasdualjoy-impl
hid: Implement MergeSingleJoyasDualJoy
5 years ago
Morph
ce1c6f2eea
hid: Implement MergeSingleJoyasDualJoy
- Used in multiple games such as Super Mario Odyssey.
5 years ago
Morph
48c6f6e3c6
Resolve spacing inconsistencies in style.qrc/qss files
5 years ago
Morph
0ce52a8070
applets/controller: Resolve several compiler warnings
Resolves -Wsign-compare and -Wunused-variable
5 years ago
Morph
5c853d4dc7
Address feedback
5 years ago
Morph
0efbd23445
clang-format
5 years ago
Morph
b9cde4fa6d
applets/controller: Set min_players to have a minimum value of 1.
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
5 years ago
Morph
212b4a584d
applets/controller: Modify heuristic to account for certain games
Now left and right joycons have the same priority (meaning both needs to be supported by the game).
Explanation of the new heuristic:
Assign left joycons to even player indices and right joycons to odd player indices.
We do this since Captain Toad Treasure Tracker expects a left joycon for Player 1 and a right Joycon for Player 2 in 2 Player Assist mode.
5 years ago
Morph
c2ca06a65c
main: Apply settings after applet configuration is complete.
5 years ago
Morph
3742ae763c
applets/controller: Implement fallback applet for the SDL frontend
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
5 years ago
Morph
38fcde96d7
applets/controller: Load configuration prior to setting up connections
This avoids unintentionally changing the states of elements while loading them in.
5 years ago
Morph
afa931cb3c
applets/controller: Make 8 a static constexpr value of NUM_PLAYERS
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
5 years ago
Morph
00df69232a
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
5 years ago
Morph
4c621b9b09
Project Mjölnir: Part 2 - Controller Applet
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago