Commit Graph

22882 Commits (a12a4f2a1322414a91b63ea43420ee37f5864111)
 

Author SHA1 Message Date
Mai 6982423931
Merge pull request #9418 from liamwhite/implicitly-deleted
audio_core: remove explicitly defaulted and implicitly deleted constructors
2 years ago
Liam e532b74e11 audio_core: remove explicitly defaulted and implicitly deleted constructors 2 years ago
Liam 985ed1e160 memory: remove DEBUG_ASSERT pointer test 2 years ago
liamwhite f6e705737a
Merge pull request #9412 from Saalvage/fix/trace-log-compilation
Fix compilation error
2 years ago
bunnei 66c4331de5
Merge pull request #9411 from Saalvage/fix/unlock-mutex
Correctly unlock mutex before its destruction
2 years ago
Salvage c586ac9be2
Remove the lock entirely as per PR discussion
Correctly unlock mutex before its destruction

As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case

Swap out unique for scoped lock and readd comment
2 years ago
Salvage 0e265db873
Fix compilation error 2 years ago
Liam 5b837157bd video_core: Integrate SMAA
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com>
Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
2 years ago
FengChen 37014e9127 video_core: Add vertex_array_instance_* sbubbed called warning 2 years ago
FengChen 1e64b5e2ec video_core: The draw manager manages whether Clear is required. 2 years ago
FengChen 15d63c3d3d video_core: Adjust topology update logic 2 years ago
Fernando S 41461514d6
Merge pull request #9401 from vonchenplus/draw_manager
video_core: Implement maxwell3d draw manager and split draw logic
2 years ago
Feng Chen bf0b957c05 video_core: Implement maxwell3d draw manager and split draw logic 2 years ago
Morph bfdd512787
Merge pull request #9365 from liamwhite/val
vulkan_common: quiet some validation errors
2 years ago
Liam 9704acb982 general: improve handling of system startup failure 2 years ago
merry e1f5f4bdea
Merge pull request #9370 from liamwhite/break-unmapped
core: add option to break on unmapped access
2 years ago
Fernando S 08d4e7c7af
Merge pull request #9393 from liamwhite/more-vulkan
vulkan_common: further initialization tweaks
2 years ago
liamwhite 4b7e73e0a6
Merge pull request #9392 from lioncash/reporter
reporter: Eliminate undefined behavior in SaveErrorReport
2 years ago
liamwhite d8534ea140
Merge pull request #9390 from lioncash/keyboard
applets: Extract callback types into aliases
2 years ago
liamwhite bbdb6d391e
Merge pull request #9389 from lioncash/emumove
emulated_console/emulated_controller: std::move ParamPackage instances where applicable
2 years ago
liamwhite a86af1b776
Merge pull request #9386 from lioncash/init
kernel: Ensure relevant class members are always initialized on construction
2 years ago
liamwhite 131ed37803
Merge pull request #9395 from abouvier/cmake-find
cmake: correct find modules
2 years ago
liamwhite a225ba4cda
Merge pull request #9391 from abouvier/cmake-sdl
cmake: use sdl2 imported target
2 years ago
liamwhite e86e144a7c
Merge pull request #9387 from abouvier/cmake-libusb
cmake: prefer system libusb
2 years ago
liamwhite 99494e77c3
Merge pull request #9394 from lioncash/translate
configure_graphics: Make SPIRV backend string translatable
2 years ago
Lioncash dba84458be configure_graphics: Make SPIRV backend string translatable
The parenthetical needs to be translatable, like with GLASM
2 years ago
Alexandre Bouvier bb3440f7c4 cmake: correct find modules 2 years ago
Alexandre Bouvier f385175aa2 cmake: prefer system libusb 2 years ago
liamwhite 7c68f93bdf
Merge pull request #9385 from Morph1984/dynarmic-ver
externals: Bump dynarmic to 6.4.0
2 years ago
liamwhite 04779b3d2a
Merge pull request #9369 from german77/mifare
service: nfc: Implement mifare service
2 years ago
liamwhite 90145c424d
Merge pull request #9360 from Kelebek1/R-E-S-P-E-C-T
Respect render mode override
2 years ago
Liam 7e7a23363a vulkan_common: further initialization tweaks 2 years ago
Lioncash eadc1ae1e7 reporter: Pass by const reference where applicable
Same behavior, but without memory churn.
2 years ago
Lioncash e7f9f58fa4 reporter: Eliminate undefined behavior in SaveErrorReport
The optionals are unconditionally dereferenced when setting the custom
error text, and in a few cases this function is called using the default
value of the optionals.

This means we'd be dereferencing uninitialized storage.

Since they're used unconditionally, we can use value_or to set a default
when storage is uninitialized.
2 years ago
Alexandre Bouvier e6ae720c33 cmake: use sdl2 imported target 2 years ago
Lioncash fedd857054 applets/controller: Use aliases for callbacks 2 years ago
Lioncash d8da9a2afd applets/error: Use aliases for callbacks 2 years ago
Lioncash 2b40cdf04f applets/mii_edit: Use aliases for callbacks 2 years ago
Lioncash a84676c2aa applets/profile_select: Use aliases for callbacks
Deduplicates callback definitions and situates it in one place.
2 years ago
Lioncash e26c86a6e7 applets/web_browser: Use aliases for callbacks
Deduplicates a lot of long callback declarations
2 years ago
Lioncash 9bbb77637e applets/software_keyboard: Use aliases for callbacks
Deduplicates really long std::function declarations to make the
interface nicer to read.
2 years ago
Morph bcf59ff3a7
Merge pull request #9388 from lioncash/fix-msvc
CMakeLists: Remove version specifier for lz4
2 years ago
Lioncash e4a16f50ef emulated_controller: Remove unused parameter in GetMappedDevices()
This isn't used, so it can be removed to make the function a little
nicer.
2 years ago
Lioncash 87543b9dea emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
2 years ago
Lioncash 7bf4b45349 emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
2 years ago
Lioncash 4255e30722 emulated_console: std::move() ParamPackages and callbacks where applicable 2 years ago
Lioncash 78eeefb030 CMakeLists: Remove version specifier for lz4
Currently the exported version of lz4 provided by vcpkg is malformed and
is "unknown". This makes querying for a specific version broken.

Fixes configuring CMake with the use of vcpkg.
2 years ago
Lioncash efa8711bf3 kernel/k_shared_memory: Ensure device_memory is always initialized 2 years ago
Lioncash c3fd211b43 kernel/k_memory_block: Ensure members are always initialized 2 years ago
Lioncash dcca650599 kernel/physical_core: Ensure is_interrupted is always initialized 2 years ago