bunnei
10e8acc451
Merge pull request #4618 from german77/GcAdapterAutoMap
Add automap feature for GC adapter
5 years ago
Rodrigo Locatti
8b0f334e0c
Merge pull request #4702 from lioncash/doc-warn
memory: Resolve a -Wdocumentation warning
5 years ago
Rodrigo Locatti
c307ae2402
Merge pull request #4701 from lioncash/unused-proto
install_dialog: Remove unused function prototype
5 years ago
Rodrigo Locatti
6d9661939f
Merge pull request #4700 from lioncash/copies
game_list: Eliminate redundant argument copies
5 years ago
Lioncash
b14d344dfc
memory: Resolve a -Wdocumentation warning
memory doesn't exist as a parameter any more.
5 years ago
Lioncash
aa35e51fcd
install_dialog: Make use of [[nodiscard]] where applicable
Allows the compiler to warn against cases where the return value isn't
used (which would be a bug).
5 years ago
Lioncash
e107870bc8
install_dialog: Remove unused function prototype
This function doesn't have an implementation, so it can be removed to
prevent others from unintentionally using it.
5 years ago
Lioncash
f43a1da808
game_list: Make game list function naming consistent
Makes the naming consistent with the rest of the functions that are
present.
5 years ago
Lioncash
d264b7375c
game_list: Eliminate redundant argument copies
Several functions can be taken by const reference to avoid copies
5 years ago
Rodrigo Locatti
b8219ec838
Merge pull request #4699 from lioncash/move3
control_flow: Make use of std::move in InsertBranch()
5 years ago
Lioncash
0dc6967ff1
control_flow: emplace elements in place within TryQuery()
Places data structures where they'll eventually be moved to to avoid
needing to even move them in the first place.
5 years ago
Lioncash
fcd0145eb5
control_flow: Make use of std::move in InsertBranch()
Avoids unnecessary atomic increments and decrements.
5 years ago
Rodrigo Locatti
2b863c9aa3
Merge pull request #4698 from lioncash/optional-null
General: Make use of std::nullopt where applicable
5 years ago
Lioncash
ff45c39578
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
bunnei
c07fd2898b
Merge pull request #4697 from lioncash/copy5
ips_layer: Eliminate a redundant copy in Parse()
5 years ago
Lioncash
a881efbf26
ips_layer: Eliminate a redundant copy in Parse()
Prevents unnecessary copying of the line being parsed.
5 years ago
bunnei
53829d4cbd
Merge pull request #4675 from Morph1984/fix-boot-multicontent
submission_package: Account for multi-content NSPs
5 years ago
Rodrigo Locatti
a2eb44db82
Merge pull request #4692 from ReinUsesLisp/remove-vsync
renderer_opengl: Remove emulated mailbox presentation
5 years ago
bunnei
754109fd54
Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl
hid: Implement Get/SetNpadHandheldActivationMode
5 years ago
ReinUsesLisp
7003090187
renderer_opengl: Remove emulated mailbox presentation
Emulated mailbox presentation was causing performance issues on
Nvidia's OpenGL driver. Remove it.
5 years ago
bunnei
8a85a562ed
Merge pull request #4643 from FearlessTobi/decrease-pad-update-interval
Test: Decrease pad_update_ns
5 years ago
german
c5e257017f
Add automap feature for GC adapter
5 years ago
Rodrigo Locatti
059dd724d6
Merge pull request #4684 from lioncash/desig4
fermi_2d: Make use of designated initializers
5 years ago
Lioncash
91bca9eb0b
fermi_2d: Make use of designated initializers
Same behavior, less repetition. We can also ensure all members of Config
are initialized.
5 years ago
Morph
ab961e0701
hid: Implement Get/SetNpadHandheldActivationMode
- Used in Clubhouse Games: 51 Worldwide Classics
5 years ago
David
050a4a401b
Merge pull request #4680 from Morph1984/fix-motion-mapping
configure_input_player: Fixes motion mapping using ConfigureButtonClick
5 years ago
Morph
70499b8cbd
configure_input_player: Fixes motion mapping using ConfigureButtonClick
5 years ago
bunnei
8568f44ffa
Merge pull request #4647 from Morph1984/readd-context-menu
configure_input_player: Re-add "Clear" context menu option
5 years ago
bunnei
669005b75e
Merge pull request #4676 from Morph1984/GetPreviousProgramIndex-impl
am: Stub GetPreviousProgramIndex
5 years ago
Morph
40a72e9cd5
am: Stub GetPreviousProgramIndex
- Used in Super Mario 3D All-Stars
5 years ago
Morph
65d9def873
configure_input_player: Re-add "Clear" context menu option
The context menu was removed in Mjölnir Part 1 as part of the input rewrite as we were unaware of it's usage statistics.
However, as this was the only way to clear the inputs of individual buttons, this PR will re-add it back in.
5 years ago
Morph
41c2f5200c
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
Rodrigo Locatti
53fc5d0190
Merge pull request #4670 from lioncash/initializer
arm_dynarmic_cp15: Initialize member variables
5 years ago
Rodrigo Locatti
9bdca01c27
Merge pull request #4665 from lioncash/sm-kernel
service/sm: Eliminate dependency on the global system instance
5 years ago
Rodrigo Locatti
8100275309
Merge pull request #4666 from lioncash/unused-func
service: Remove unused funcation
5 years ago
Rodrigo Locatti
131532b570
Merge pull request #4671 from lioncash/nfp-copy
command_generator/nfp: Eliminate unnecessary copies
5 years ago
Rodrigo Locatti
31461589c5
Merge pull request #4672 from lioncash/narrowing
decoder/texture: Eliminate narrowing conversion in GetTldCode()
5 years ago
Rodrigo Locatti
9f51242524
Merge pull request #4673 from lioncash/fallthrough
decode/image: Eliminate switch fallthrough in DecodeImage()
5 years ago
bunnei
3f6d83b27c
Merge pull request #4594 from german77/MotionHID
hid/configuration: Implement motion controls to HID
5 years ago
Lioncash
4944d48ee8
decode/image: Eliminate switch fallthrough in DecodeImage()
Fortunately this didn't result in any issues, given the block that code
was falling through to would immediately break.
5 years ago
Lioncash
ffc66f089d
decoder/texture: Eliminate narrowing conversion in GetTldCode()
The assignment was previously truncating a u64 value to a bool.
5 years ago
Lioncash
362e2940be
audio_core/command_generator: Use const references where applicable
In a lot of cases, we can make use of const references rather than
non-const references.
While we're in the area we can silence some truncation and sign
conversion warnings.
5 years ago
Lioncash
9539e4d8fd
audio_core/command_generator: Avoid an unnecessary copy in GenerateFinalMixCommand()
5 years ago
Lioncash
aca3621146
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
1ee9ceb5af
arm_dynarmic_cp15: Initialize member variables
Ensures that the member variables are always initialized to a
deterministic value on creation.
5 years ago
bunnei
382bf1faf4
Merge pull request #4668 from lioncash/port
control_metadata: Resolve typo in Portuguese language name
5 years ago
Lioncash
02b8b6677a
control_metadata: Resolve typo in Portuguese language name
This isn't used anywhere, so this is a trivial fix.
5 years ago
Lioncash
8bbd82863d
service: Remove unused funcation
This is now completely unused, so it can be removed.
5 years ago
Lioncash
057aa6275d
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
78b1bc3b61
service/sm: Eliminate dependency on the global system instance
5 years ago