ReinUsesLisp
85ff87488d
video_core: Fix instances where msbuild always regenerated host shaders
When HEADER_GENERATOR was included in the DEPENDS section of custom
commands, msbuild assumed this was always modified. Changing this file
is not common so we can remove it from there.
5 years ago
bunnei
d9aa237df7
Merge pull request #4618 from german77/GcAdapterAutoMap
Add automap feature for GC adapter
5 years ago
Rodrigo Locatti
c89aa6b431
Merge pull request #4702 from lioncash/doc-warn
memory: Resolve a -Wdocumentation warning
5 years ago
Rodrigo Locatti
d108368c35
Merge pull request #4701 from lioncash/unused-proto
install_dialog: Remove unused function prototype
5 years ago
Rodrigo Locatti
ff25dcb617
Merge pull request #4700 from lioncash/copies
game_list: Eliminate redundant argument copies
5 years ago
Lioncash
3abd28c35a
memory: Resolve a -Wdocumentation warning
memory doesn't exist as a parameter any more.
5 years ago
Lioncash
4464a33c93
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
3fbbfd0561
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
ab1b7eefc8
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
2827ce5194
game_list: Eliminate redundant argument copies
Several functions can be taken by const reference to avoid copies
5 years ago
Rodrigo Locatti
21b5834bc0
Merge pull request #4699 from lioncash/move3
control_flow: Make use of std::move in InsertBranch()
5 years ago
Lioncash
cc4e8c247d
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
13df9625be
control_flow: Make use of std::move in InsertBranch()
Avoids unnecessary atomic increments and decrements.
5 years ago
Rodrigo Locatti
43a7e8a2eb
Merge pull request #4698 from lioncash/optional-null
General: Make use of std::nullopt where applicable
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
bunnei
f3b0c1b4b5
Merge pull request #4697 from lioncash/copy5
ips_layer: Eliminate a redundant copy in Parse()
5 years ago
Lioncash
485eec243d
ips_layer: Eliminate a redundant copy in Parse()
Prevents unnecessary copying of the line being parsed.
5 years ago
bunnei
292693b696
Merge pull request #4675 from Morph1984/fix-boot-multicontent
submission_package: Account for multi-content NSPs
5 years ago
Rodrigo Locatti
24d77012ce
Merge pull request #4692 from ReinUsesLisp/remove-vsync
renderer_opengl: Remove emulated mailbox presentation
5 years ago
bunnei
24b421b14c
Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl
hid: Implement Get/SetNpadHandheldActivationMode
5 years ago
ReinUsesLisp
f4dbeb72d7
renderer_opengl: Remove emulated mailbox presentation
Emulated mailbox presentation was causing performance issues on
Nvidia's OpenGL driver. Remove it.
5 years ago
bunnei
1a3f019bad
Merge pull request #4643 from FearlessTobi/decrease-pad-update-interval
Test: Decrease pad_update_ns
5 years ago
german
9f70da1a9b
Add automap feature for GC adapter
5 years ago
Rodrigo Locatti
540c05072e
Merge pull request #4684 from lioncash/desig4
fermi_2d: Make use of designated initializers
5 years ago
Lioncash
e486fc26a8
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
505ce79b9d
hid: Implement Get/SetNpadHandheldActivationMode
- Used in Clubhouse Games: 51 Worldwide Classics
5 years ago
David
7cae339b98
Merge pull request #4680 from Morph1984/fix-motion-mapping
configure_input_player: Fixes motion mapping using ConfigureButtonClick
5 years ago
Morph
a769682977
configure_input_player: Fixes motion mapping using ConfigureButtonClick
5 years ago
bunnei
cfa3badd54
Merge pull request #4647 from Morph1984/readd-context-menu
configure_input_player: Re-add "Clear" context menu option
5 years ago
bunnei
c5e1fba172
Merge pull request #4676 from Morph1984/GetPreviousProgramIndex-impl
am: Stub GetPreviousProgramIndex
5 years ago
Morph
5435e0ee39
am: Stub GetPreviousProgramIndex
- Used in Super Mario 3D All-Stars
5 years ago
Morph
8be3c010bb
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
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
Rodrigo Locatti
2ca7e7160a
Merge pull request #4670 from lioncash/initializer
arm_dynarmic_cp15: Initialize member variables
5 years ago
Rodrigo Locatti
c1fdda9ff9
Merge pull request #4665 from lioncash/sm-kernel
service/sm: Eliminate dependency on the global system instance
5 years ago
Rodrigo Locatti
3a962913c7
Merge pull request #4666 from lioncash/unused-func
service: Remove unused funcation
5 years ago
Rodrigo Locatti
70b922675e
Merge pull request #4671 from lioncash/nfp-copy
command_generator/nfp: Eliminate unnecessary copies
5 years ago
Rodrigo Locatti
3f649be2b0
Merge pull request #4672 from lioncash/narrowing
decoder/texture: Eliminate narrowing conversion in GetTldCode()
5 years ago
Rodrigo Locatti
ede7edd764
Merge pull request #4673 from lioncash/fallthrough
decode/image: Eliminate switch fallthrough in DecodeImage()
5 years ago
bunnei
9a2553c952
Merge pull request #4594 from german77/MotionHID
hid/configuration: Implement motion controls to HID
5 years ago
Lioncash
888cca3dfc
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
8f587c15ac
decoder/texture: Eliminate narrowing conversion in GetTldCode()
The assignment was previously truncating a u64 value to a bool.
5 years ago
Lioncash
6632af0301
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
d0b648ecf8
audio_core/command_generator: Avoid an unnecessary copy in GenerateFinalMixCommand()
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
bunnei
8968d95a1c
Merge pull request #4668 from lioncash/port
control_metadata: Resolve typo in Portuguese language name
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