ReinUsesLisp
17fe00bcee
renderer_vulkan/wrapper: Fix physical device sorting
The old code had a sort function that was invalid and it didn't work as
expected when the base vector had a different order (e.g. renderdoc was
attached).
This sorts devices as expected and fixes a debug assert on MSVC.
5 years ago
german
ec0a0a94b4
Address comments
5 years ago
german
0d4c60c3ef
Add compatibility with only accelerometer and auto calibrate for drift
5 years ago
ReinUsesLisp
ca90a52bea
video_core: Enforce -Wunused-variable and -Wunused-but-set-variable
5 years ago
german
3fa9068948
Only use inputs corresponding to controller type
5 years ago
german
450a3c0f42
Stubbed EnableSixAxisSensorFusion
5 years ago
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
Lukas Senionis
e237086658
Reduce the "shake" requirements when configuring UDP.
5 years ago
Matías Locatti
d532207085
Remove ext_extended_dynamic_state blacklist
Latest AMD 20.9.2 driver fixed this, there's no reason to keep it blocked, as the previous stable signed driver release doesn't include the extension.
5 years ago
ReinUsesLisp
a66d8bb49d
common/wall_clock: Add virtual destructors
From -fsanitize=address, this code wasn't calling the proper destructor.
Adding virtual destructors for each inherited class and the base class
fixes this bug.
While we are at it, mark the functions as final.
5 years ago
ReinUsesLisp
6ed317da95
qt/game_list: Give GameListSearchField::KeyReleaseEater a parent
This fixes a memory leak as KeyReleaseEater's destructor was never
called.
5 years ago
german
782aab6cf2
First implementation of controller rumble
6 years ago
lat9nq
bcd77d4b7b
CMakeLists: use system zstd on Linux
From what I understand, this tells CMake to use the system, not conan,
version of zstd. Required to build on the coming MinGW Docker container.
5 years ago
lat9nq
1589c097d4
CMakeLists: fix for finding zstd on linux-mingw
5 years ago
Morph
929b38e5b5
main: Allow applets to display on top while fullscreen
Using the Qt::WindowStaysOnTopHint flag allows these dialogs to show up on top while running in fullscreen. However, if yuzu goes out of focus (by alt-tabbing or otherwise), this flag does not seem to have an effect.
5 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
german
ef4f095aae
Add random motion input to keyboard
5 years ago
german
db47701464
Add random motion input to SDL
5 years ago
Lioncash
3e926b6481
command_generator: 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
lat9nq
e12b3fcc9e
vk_stream_buffer: Fix initializing Vulkan with NVIDIA on Linux
The previous fix only partially solved the issue, as only certain GPUs that needed 9 or less MiB subtracted would work (i.e. GTX 980 Ti, GT 730). This takes from DXVK's example to divide `heap_size` by 2 to determine `allocable_size`. Additionally tested on my Quadro K4200, which previously required setting it to 12 to boot.
5 years ago
Lioncash
a97ec95061
behavior_info: Fix typo Renerer -> Renderer
5 years ago
Lioncash
1fc5fae82f
cubeb_sink: Use static_cast instead of reinterpret_cast in DataCallback()
Conversions from void* to the proper data type are well-defined and
supported by static_cast. We don't need to use reinterpret_cast here.
5 years ago
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
Lioncash
c6fe328f73
audio_core: Remove unnecessary inclusions
Same behavior, but removes header dependencies where they don't need to
be.
5 years ago
Lioncash
8e2814d9ad
audio_core: Resolve sign conversion warnings
While were at it, we can also enable sign conversion warnings and other
common warnings as errors to prevent these from creeping back into the
codebase.
5 years ago
Lioncash
165a083705
effect_context: Make use of explicit where applicable
While we're at it we can make the destructor of the base class virtual
to ensure that any polymorphism issues never occur.
5 years ago
Lioncash
8f78956784
vk_command_pool: Move definition of Pool into the cpp file
Allows the implementation details to be changed without recompiling any
files that include this header.
5 years ago
Lioncash
943d0c8f2c
vk_command_pool: Make use of override on destructor
5 years ago
Lioncash
4e2a72b1ef
vk_command_pool: Add missing header guard
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
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
german
c3fb504201
Use different timing for motion
5 years ago
Lioncash
2da5a0c30d
shader/registry: Silence a -Wshadow warning
5 years ago
Lioncash
34af344aad
shader/registry: Remove unnecessary namespace qualifiers
Using statements already make these unnecessary.
5 years ago
Lioncash
b050a95af8
shader/registry: Make use of designated initializers where applicable
Same behavior, less repetition.
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
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
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