lat9nq
932c0184a7
cmake: Fix find_program usage for 3.15
...
yuzu requires CMake 3.15 yet find_program was using REQUIRED, which is
only available on 3.18 and later. Instead, we check for
"<VAR>-NOTFOUND".
In addition, check for additional requirements before building libusb or
FFmpeg with autotools. Otherwise, CMake configuration will pass yet
compilation will fail.
4 years ago
bunnei
8b5655a98e
Merge pull request #6453 from lat9nq/libusb-fix-msvc
...
externals: Don't set FOUND or VERSION on LIBUSB
4 years ago
lat9nq
2817ef1a53
externals: Don't set FOUND or VERSION on LIBUSB
...
Fixes an issue where libusb.h wouldn't be found when building yuzu on
MSVC.
This only affects the "traditional" CMake pathway for linking libusb to
yuzu AKA MSVC. For autotools we still want to set these variables before
configuring SDL.
4 years ago
bunnei
58180f9fa8
Merge pull request #6451 from Morph1984/check-disk-space-dump
...
yuzu: main: Ensure enough space is available for RomFS dumping
4 years ago
Mai M
9951322e5a
Merge pull request #6422 from FernandoS27/i-am-the-senate
...
Implement/Port Fastmem from Citra to Yuzu
4 years ago
Morph
fa2aac1bf5
yuzu: main: Ensure enough space is available for RomFS dumping
...
This warns the user if there isn't enough free space to dump the entire RomFS to disk. It requires at least the size of the extracted RomFS + 1 GiB as a buffer of free space.
4 years ago
bunnei
0c0c1a039e
Merge pull request #6443 from Morph1984/k-light-condition-variable
...
kernel: KLightConditionVariable: Update implementation to 12.x
4 years ago
Markus Wick
7f85abb281
common/host_memory: Implement a fallback if fastmem fails.
...
This falls back to the old approach of using a virtual buffer.
Windows is untested, but this build should fix support for Windows < 10 v1803. However without fastmem support at all.
4 years ago
ReinUsesLisp
f332d4a9b5
common/host_shader: Load Windows 10 functions dynamically
...
Workaround old headers and libraries shipped on MinGW.
4 years ago
Fernando Sahmkow
588ab44470
GPUTHread: Remove async reads from Normal Accuracy.
4 years ago
ReinUsesLisp
7b0d8bd1fb
rasterizer: Update pages in batches
4 years ago
ReinUsesLisp
ee67460ff0
host_memory: Support staged VirtualProtect calls
4 years ago
FernandoS27
5ba28325b2
General: Add settings for fastmem and disabling adress space check.
4 years ago
Markus Wick
c4609c92ee
common/host_memory: Optimize for huge tables.
...
In theory, if we have 2 MB continously mapped, this should save one layer of TLB.
Let's make it at least more likely by aligning the memory.
4 years ago
Markus Wick
621f3f5f47
core: Make use of fastmem
4 years ago
ReinUsesLisp
740edacc8d
tests: Add tests for host memory
4 years ago
Markus Wick
5105318bbc
common/host_memory: Add Linux implementation
4 years ago
ReinUsesLisp
a7837a3791
common/host_memory: Add interface and Windows implementation
4 years ago
Morph
fbb170857f
Merge pull request #6450 from lat9nq/update-sdl
...
externals: Update SDL to 2f248a2a
4 years ago
lat9nq
f738c6b231
externals: Update SDL to 2f248a2a
4 years ago
bunnei
c1b8e59ea0
Merge pull request #6407 from lat9nq/fix-libusb-2
...
cmake: Use autotools for libusb linking generally on GNU, and cleanup
4 years ago
bunnei
46ec0ee55b
Merge pull request #6445 from degasus/fix_ubsn
...
Fix GCC undefined behavior sanitizer.
4 years ago
Morph
ebd38d66db
kernel: Unconditionally set thread state when appropriate
4 years ago
Morph
aa79ca7a7a
kernel: KLightConditionVariable: Update implementation to 12.x
...
Updates the implementation of KLightConditionVariable to FW 12.x
4 years ago
bunnei
4547b2735a
Merge pull request #6444 from bunnei/fix-sm-sessions
...
hle: service: sm: Remove redundant session reservation, etc.
4 years ago
Markus Wick
6755025310
Fix GCC undefined behavior sanitizer.
...
* Wrong alignment in u64 LOG_DEBUG -> memcpy.
* Huge shift exponent in stride calculation for linear buffer, unused result -> skipped.
* Large shift in buffer cache if word = 0, skip checking for set bits.
Non of those were critical, so this should not change any behavior.
At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
4 years ago
bunnei
781c85b951
hle: service: sm: Remove redundant session reservation, etc.
...
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
4 years ago
bunnei
fa8a0065ca
hle: service: Increase arbitrary max sessions limit.
...
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
4 years ago
bunnei
74f0087bfa
Merge pull request #6441 from bunnei/fix-session-handler
...
hle: kernel: KServerSession: Fix client disconnected.
4 years ago
bunnei
b259e95c09
hle: kernel: KClientPort: Add an assert for session count.
...
- Prevents us from over decrementing num_sessions.
4 years ago
bunnei
ec5674a6ad
hle: service: sm: Fix GetService setup of session & port.
4 years ago
bunnei
2aa6a8d889
hle: service: Use correct size for ServerSessionCountMax.
4 years ago
bunnei
b2971b48ed
hle: kernel: KServerSession: Fix client disconnected.
...
- Prevents a cloned session's handler from being overwritten by another disconnected session.
- Fixes session handler nullptr asserts with Pokemon Sword & Shield.
4 years ago
Ameer J
86d832ab9a
Merge pull request #6439 from lat9nq/ci-no-7z
...
ci: common: Remove 7z packaging
4 years ago
Mai M
61c7a81ec8
Merge pull request #6440 from bunnei/cancel-synch
...
kernel: svc: Add missing error check to CancelSynchronization.
4 years ago
lat9nq
fbad68de0f
ci: windows: Compress using xz
...
Use XZ instead of gzip for packing. Should save about 10 MB.
4 years ago
bunnei
c63ea608aa
kernel: svc: Add missing error check to CancelSynchronization.
...
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
4 years ago
lat9nq
6eeb532c96
ci: common: Remove 7z packaging
...
Removes the 7z from being package during CI, as only .tar.xz preserves
information needed on Linux, and otherwise is just extremely redundant
to package in addition to the .tar.xz. This affects Linux releases and
PR-verify artifacts only. MSVC releases do not use this script to my
knowledge.
4 years ago
Mai M
5857067a18
Merge pull request #6436 from liushuyu/master
...
src/common/CMakeLists.txt: fix variable escaping
4 years ago
bunnei
2d32fc2318
hle: service: Increase arbitrary max sessions limit.
...
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
4 years ago
bunnei
75a4ac12c6
Merge pull request #6413 from Kewlan/limitable_input_dialog_limit
...
limitable_input_dialog: Implement character limiter
4 years ago
liushuyu
eb9deffab6
src/common/CMakeLists.txt: fix variable escaping
4 years ago
Morph
15483c07c6
Merge pull request #6435 from lioncash/nodisc2
...
common/fs/path_util: Remove [[nodiscard]] from function with void return
4 years ago
bunnei
f9c3e2e872
Merge pull request #6434 from lioncash/tcontext
...
configure_ui: Add translation context for file-scope strings
4 years ago
bunnei
3c621d37f0
Merge pull request #6428 from bunnei/service-thread-crash-fix
...
hle: kernel: Remove service thread manager and use weak_ptr.
4 years ago
Lioncash
dd8577e91d
common/fs/path_util: Remove [[nodiscard]] from function with void return
...
We can't make use of the return value here, since we don't a return
value to work with.
4 years ago
Lioncash
b3eb08254b
configure_ui: Add translation context for file-scope strings
...
Allows for these strings to show up in the translation files.
4 years ago
Mai M
f09c9b5fcc
Merge pull request #6426 from lat9nq/context-menu-start
...
yuzu qt: Start games from context menu
4 years ago
bunnei
b8fb9b3f11
hle: kernel: KServerSession: Work-around scenario where session is closed too early.
4 years ago
bunnei
08d798b6fe
hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid.
4 years ago