Morph
88efcaf44e
x64: cpu_wait: Remove magic values
3 years ago
Morph
cffefaf8a7
x64: cpu_wait: Make use of MWAITX in MicroSleep
MWAITX is equivalent to UMWAIT on Intel's Alder Lake CPUs.
We can emulate TPAUSE by using MONITORX in conjunction with MWAITX to wait for 100K cycles.
3 years ago
Morph
841a3559a5
x64: Add detection of monitorx instructions
monitorx introduces 2 instructions: MONITORX and MWAITX.
3 years ago
lat9nq
dfc7afe44d
settings: Clean up includes
Adds <version> since we are looking at C++ implementation version
details. Also moves exception header includes into the if preprocessor
command since we only use it there.
3 years ago
Merry
09012476db
arm_dynarmic_32: Remove disabling of block linking on arm64
3 years ago
lat9nq
4bbb9fa29e
settings: Catch runtime_error, fallback time zone
Windows will let you select time zones that will fail in their
own C++ implementation library. Evidently from the stack trace, we get a
runtime error to work with, so catch it and use the fallback.
3 years ago
german77
7dee0cf567
yuzu: Fix clang format
3 years ago
Charles Lombardo
2810786adc
android: Fix size check for content uris
Fix for checking file size for android content uris
3 years ago
Charles Lombardo
f56487bf3e
android: Clean up file extension checks
3 years ago
GPUCode
7a8631cd45
externals: Use cmake subdirectory
3 years ago
Kelebek1
c80b6bfb83
Use safe reads in DMA engine
3 years ago
ameerj
5ae4d9983b
OpenGL: Limit lmem warmup to NVIDIA
🐸
3 years ago
ameerj
28cecc6cd8
shaders: Track local memory usage
3 years ago
ameerj
a2b344ab9d
emit_glasm: Fix lmem size computation
3 years ago
ameerj
b2349d75f4
OpenGL: Add Local Memory warmup shader
3 years ago
Kirill Ignatev
ba51f27437
Hyphenate Joy-Con and clarify further
3 years ago
Kirill Ignatev
d113954bec
Clarify Ring-Con configuration message in UI
Not obvious how left controller should be set up
Mention that it should be left physical dual emulated
3 years ago
german77
9e204b0308
core: hid: Allow to read bin files while switch controller is available
3 years ago
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