ReinUsesLisp
308feff898
shader_cache: Fix use-after-free and orphan invalidation cache entries
This fixes some cases where entries could have been removed multiple
times reading freed memory. To address this issue this commit removes
duplicates from entries marked for removal and sorts out the removal
process to fix another use-after-free situation.
Another issue fixed in this commit is orphan invalidation cache entries.
Previously only the entries that were invalidated in the current
operations had its entries removed. This led to more use-after-free
situations when these entries were actually invalidated but referenced
an object that didn't exist.
6 years ago
Ameer
34e6084c8d
Reset adapter state on init, fixes errors relating driver hang from unexpected unplug
6 years ago
David Marcec
73ca896cd6
Don't handle cycles late if stretcher is active
Timestretcher seems to be broken
6 years ago
David Marcec
f0685697da
audio: Improving audio timing for multicore/single core
Fixes the issue with needing the timestretcher for multicore.
6 years ago
David Marcec
2961282fae
externals: Track opus as submodule instead of using conan
Supersedes #4068 see for details.
6 years ago
Lioncash
1e362da176
key_manager: Correct casing of instance()
Our codebase uppercases member function names.
6 years ago
Lioncash
93f1d9435d
key_manager: Delete move operations
Prevents the singleton from being moved from.
6 years ago
Lioncash
e67ab9a1b7
key_manager: Make use of canonical deleted operator=
operator= typically returns a reference, it's not void.
While we're at it, we can correct the parameter formatting to adhere to the
codebase.
6 years ago
Jan Beich
f3c5dda382
common: switch to nullptr for sysctl's empty new value
6 years ago
Ameer
0c6128cc3a
Address feedback regarding increments, const vars, and general cleanup
6 years ago
Ameer
ed72085227
fix implicit conversion of size_t type to int
6 years ago
Morph
9e0fd0beb0
maxwell_to_gl: Implement MirrorOnceClampOGL using GL_MIRROR_CLAMP_EXT
Like MirrorOnceBorder, this requires the GL_EXT_texture_mirror_clamp extension. This extension is unfortunately not available on Intel's drivers (both Windows proprietary and Linux Mesa). Use GL_MIRROR_CLAMP_TO_EDGE as a fallback if the extension is unavailable.
6 years ago
David
ac1a57c28a
macro: Add support for "middle methods" on the code cache ( #4112 )
Macro code is just uploaded sequentially from a starting address, however that does not mean the entry point for the macro is at that address. This PR adds preliminary support for executing macros in the middle of our cached code.
6 years ago
Jan Beich
3c13a49cbf
common: add sysconf() fallback
src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
^~~~~~~~~~~~~~~
6 years ago
Morph
e2fb93cb46
maxwell_to_gl: Rename VertexType() to VertexFormat()
6 years ago
John Galt
1eacbe69be
cmake: fix fmt linking
On gcc/ld, and clang/lld, fmt::v6 symbols are excluded, so linking
fails. This fixes the issue.
Note: This was included in the FindBoost changes I shared with
BlinkHawk, however only they were merged. I'm not sure if it was missed,
or if there was an issue with this part of the change.
6 years ago
VolcaEM
33f6610f52
Remove duplicate functions
6 years ago
VolcaEM
cd893f7ac4
Use decimal instead of hexadecimal
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
6 years ago
VolcaEM
6d7c850936
Fix typo
6 years ago
VolcaEM
a82dc6c91d
Clang-format
6 years ago
VolcaEM
9338a6a1cf
service: Update function tables
6 years ago
ReinUsesLisp
a0226819e1
core_timing,scheduler: Use std::scoped_lock when possible
Simplifies the cognitive load of procedures using locks and makes locks
safe against exceptions.
6 years ago
David Marcec
3804c6d1c0
ldr: Cleanup NRO & NRR structs
6 years ago
Morph
3a3949183e
maxwell_to_vk: Reorder vertex formats and add A2B10G10R10 for all types except float
6 years ago
David Marcec
2864b1fb41
am: Stub GetIndirectLayerConsumerHandle
Needed by Monster Hunter Generations Ultimate
6 years ago
Morph
4c3146aeb4
maxwell_to_gl: Add 32 bit component sizes to (un)signed scaled formats
Add 32 bit component sizes to (un)signed scaled formats and group (un)signed normalized, scaled, and integer formats together.
6 years ago
David Marcec
bbf7b72fbf
acc: ListOpenContextStoredUsers partial stub
Needed by Baldur's Gate 1/2
6 years ago
Fernando Sahmkow
94a51e6b21
Core/Common: Address Feedback.
6 years ago
Fernando Sahmkow
7818e2ee11
NvFlinger: Clang Format.
6 years ago
Fernando Sahmkow
8ef375e772
Build System: Fix GCC & MINGW Build.
6 years ago
Fernando Sahmkow
8cd81eb66f
SVC: Implement 32-bits wrappers and update Dynarmic.
6 years ago
Fernando Sahmkow
146bbc6189
SVC: Add GetCurrentProcessorNumber32, CreateTransferMemory32, SetMemoryAttribute32
6 years ago
Fernando Sahmkow
fd631d72a6
ARM: Update Dynarmic and Setup A32 according to latest interface.
6 years ago
Fernando Sahmkow
75db328166
SVC: Add GetThreadPriority32 & SetThreadPriority32
6 years ago
Fernando Sahmkow
a7be2fac83
ArmDynarmic32: Setup CNTPCT correctly
6 years ago
Fernando Sahmkow
78a23536d4
Audio: Correct buffer release for host timing.
6 years ago
Fernando Sahmkow
24e0d393e2
Common/Kernel: Corrections and small bug fixing.
6 years ago
Fernando Sahmkow
fda5651072
Services/NvFlinger: Do vSync in a sepparate thread on Multicore.
6 years ago
Fernando Sahmkow
74c9ad1976
Common/NativeClockx86: Reduce native clock accuracy further.
6 years ago
Fernando Sahmkow
4df46e0525
Tests/CoreTiming: Correct host timing tests.
6 years ago
Fernando Sahmkow
af0999c735
ARMDynarmicInterface: Correct GCC Build Errors.
6 years ago
Fernando Sahmkow
e8d2bf1e17
Common/AtomicOps: Correct GCC Intrinsic argument ordering.
6 years ago
Fernando Sahmkow
555c4c238c
Kernel: Correct Host Context on Threads and Scheduler.
6 years ago
Fernando Sahmkow
8d603539a4
YuzuQT: Hide Speed UI on Multicore.
6 years ago
Fernando Sahmkow
adc86e3030
Clang Format.
6 years ago
Fernando Sahmkow
6cbdb64f3d
ARMInterface/Externals: Update dynarmic and fit to latest version.
6 years ago
Fernando Sahmkow
cce90e2672
ARMInterface: Correct rebase errors.
6 years ago
Fernando Sahmkow
a4e7d0b106
CoreTiming: Correct rebase bugs and other miscellaneous things.
6 years ago
Fernando Sahmkow
d98995c001
Core: Split Microprofile Dynarmic timing per Core
6 years ago
Fernando Sahmkow
fb07639438
General: Tune the priority of main emulation threads so they have higher priority than less important helper threads.
6 years ago