Lioncash
f2c756b0f4
codec: Make lookup table static constexpr
Allows compilers to elide needing to push these values on the stack
every time the function is called.
5 years ago
LC
d2d0909b84
Merge pull request #4717 from lioncash/debug
service: Restore "unused" function
5 years ago
Lioncash
711c5c7bdf
service: Restore "unused" function
Turns out this function is actually used, but within a trace log.
5 years ago
bunnei
c9113bedc6
Merge pull request #4711 from lioncash/move5
arithmetic_integer_immediate: Make use of std::move where applicable
5 years ago
bunnei
221e4c3e41
Merge pull request #4678 from Morph1984/LoadOpenContext-partial-impl
acc: Partially implement LoadOpenContext
5 years ago
Lioncash
a31702acaf
arithmetic_integer_immediate: Make use of std::move where applicable
Same behavior, minus any redundant atomic reference count increments and
decrements.
5 years ago
bunnei
e6abc97da3
Merge pull request #4674 from ReinUsesLisp/timeline-semaphores
renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore
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
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
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
ReinUsesLisp
22fb70406f
vk_query_cache: Hack counter destructor to avoid reserving queries
This is a hack to destroy all HostCounter instances before the base
class destructor is called. The query cache should be redesigned to have
a proper ownership model instead of using shared pointers.
For now, destroy the host counter hierarchy from the derived class
destructor.
5 years ago
ReinUsesLisp
7c747f9bea
renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore
This reworks how host<->device synchronization works on the Vulkan
backend. Instead of "protecting" resources with a fence and signalling
these as free when the fence is known to be signalled by the host GPU,
use timeline semaphores.
Vulkan timeline semaphores allow use to work on a subset of D3D12
fences. As far as we are concerned, timeline semaphores are a value set
by the host or the device that can be waited by either of them.
Taking advantange of this, we can have a monolithically increasing
atomic value for each submission to the graphics queue. Instead of
protecting resources with a fence, we simply store the current logical
tick (the atomic value stored in CPU memory). When we want to know if a
resource is free, it can be compared to the current GPU tick.
This greatly simplifies resource management code and the free status of
resources should have less false negatives.
To workaround bugs in validation layers, when these are attached there's
a thread waiting for timeline semaphores.
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