german77
4c2f8ac0eb
input_common: Dont try to read/write data from 3rd party controllers
3 years ago
german77
b16b2a486b
input_common: Make use of new SDL features
3 years ago
zeltermann
377ffa277c
Only use SDL wakelock on Linux
SDL has internally fixed shenanigans related to wakelocking through DBus
from inside sandboxes from around August 2022, so we can now remove the
workaround we used since 2021.
3 years ago
Abandoned Cart
51068a23af
android: define [[maybe_unused]] (const) auto
3 years ago
Abandoned Cart
f2aeaddf52
android: Parameter types from Android Studio
Android Studio marked these parameters as errors because it is an instance, not a class, that is being passed from Java.
3 years ago
Liam
217bb87494
vfs_real: lock concurrent accesses
3 years ago
GPUCode
925a069402
android: Log settings
3 years ago
GPUCode
c813876c5a
vulkan_common: Remove required flags
* Allows VMA to fallback to system RAM instead of crashing
3 years ago
Liam
db40a2f430
general: remove atomic signal and wait
3 years ago
Kelebek1
c7430e51e3
Remove memory allocations in some hot paths
3 years ago
Narr the Reg
b24451c571
input_common: Implement native mifare support
3 years ago
Abandoned Cart
c955fc20b3
android: Generalize string message dialog
3 years ago
Abandoned Cart
42548ded9d
android: Add support for concurrent installs
3 years ago
Abandoned Cart
25ad652787
android: Convert memory sizes to resource
3 years ago
Abandoned Cart
0891b3e775
android: Add a notice when RAM inadequate
3 years ago
Abandoned Cart
f06174ed2b
android: Refactor native and corresponding variables
3 years ago
Abandoned Cart
777567975e
Fix JNI and expose mute settings to Android
3 years ago
Abandoned Cart
67ec04ddd5
android: Add a PiP interface to mute / unmute
3 years ago
Charles Lombardo
839e5f65e4
android: Don't show custom driver button on mali and x86
3 years ago
lat9nq
9357aaf637
time_zone_manager: Add null terminator
We aren't null-terminating this string after the copy, and we need to.
3 years ago
lat9nq
aedaa1aa19
time_zone_manager: Stop on comma
This is a deviation from the reference time zone implementation. The
actual code will set a pointer to the time zone name here, but for us we
have a limited number of characters to work with, and the name of the
time zone here could be larger than 8 characters.
We can make the assumption that time zone names greater than five
characters in length include a comma that denotes more data. Nintendo
just truncates that data for the name, so we can do the same.
time_zone_manager: Check for length of array
Just to be double sure that we never break past the array length,
directly compare against it.
3 years ago
toast2903
f68b01a8cf
vulkan_device: Remove brace initializer
Co-authored-by: Tobias <thm.frey@gmail.com>
3 years ago
lat9nq
1ad8df763f
video_core: Check broken compute earlier
Checks it as the system is determining what settings to enable. Reduces
the need to check settings while the system is running.
3 years ago
Liam
e1d8e0d842
vfs_concat: verify short read
3 years ago
Liam
0faeac4fcb
vfs_concat: fix offset calculation when not aligned to file boundary
3 years ago
Kelebek1
6bd6e24d6e
Use current GPU address when unmapping GPU pages, not the base
3 years ago
lat9nq
eb2c848912
vk_device_info: Check only affected Intel drivers
Renames is_intel_proprietary to has_broken_compute for accuracy.
vk_device_info: Use vulkan::device to check compute
3 years ago
lat9nq
a74f77bbbc
video_core: Formalize HasBrokenCompute
Also limits it to only affected Intel proprietrary driver versions.
vulkan_device: Move broken compute determination
vk_device: Remove errant back quote
3 years ago
GPUCode
7b3718dc9c
renderer_vulkan: Add missing initializers
3 years ago
GPUCode
66d3a1c5c7
renderer_vulkan: Use VMA for buffers
3 years ago
GPUCode
d84d595dab
renderer_vulkan: Use VMA for images
3 years ago
GPUCode
fd9b920d2d
memory_allocator: Remove OpenGL interop
* Appears to be unused atm
3 years ago
lat9nq
0a4650cd2b
externals: Add vma and initialize it
video_core: Move vma implementation to library
3 years ago
lat9nq
38fe34a43f
vulkan_device: Remove external memory extension
Unused in yuzu. Enables yuzu to boot games in Wine using Vulkan.
3 years ago
Liam
e62d452bd9
renderer_vulkan: add missing include
3 years ago
lat9nq
e260539065
time_zone_service: Always write time zone rule data
Switch firmware will initialize this data even if the given parameters
are invalid. We should do the same.
3 years ago
Kelebek1
547e837f78
Synchronize vertex buffer even when it doesn't require binding
3 years ago
lat9nq
59236a458c
k_thread: Use a mutex and cond_var to sync bool
std::atomic<bool> is broken on MinGW and causes deadlocks there.
Use a normal cond var in its stead.
3 years ago
FengChen
255ab12789
video_core: add samples check when find render target
3 years ago
Wollnashorn
e10113e853
video_core: Only apply AF to 2D (array) image types
3 years ago
Wollnashorn
62b0b6bde0
video_core: Removed AF for all mip modes option as it's default now
3 years ago
Liam
3191a97b22
vfs_real: ensure size cache is reset on write
3 years ago
Charles Lombardo
8586ed3bfe
android: Expose audio output engine setting
3 years ago
Charles Lombardo
cb65166fac
android: Bump ktlint version to 0.47.1
3 years ago
Charles Lombardo
fa67cd8edf
android: Disable import-ordering ktlint check
3 years ago
Liam
b73cc6d51c
patch_manager: remove unnecessary GetSize calls
3 years ago
Liam
0f7b1f067f
vfs_real: misc optimizations
3 years ago
Charles Lombardo
a88166f870
android: Expose CPU debugging option
3 years ago
Charles Lombardo
6c18ceff4d
android: Expose fastmem option
3 years ago
Charles Lombardo
c050dd3122
android: Support changing multiple settings at once
3 years ago