Morph
09a98bdc2b
spl: Implement spl::GetConfig
5 years ago
Morph
7588defe84
hle: api_version: Add HLE API version constants
5 years ago
Morph
684d567adc
spl: Add the general SPL interface
5 years ago
Morph
bb0caed2f1
spl: Add SPL types
5 years ago
Morph
8d7eec9b88
spl: Add SPL result codes
5 years ago
bunnei
f9a637ef49
Merge pull request #6462 from Morph1984/proper-flush
common: fs: file: Flush the file to the disk when Flush() is called
5 years ago
bunnei
2bf9b1b978
Merge pull request #6470 from ameerj/lm-silence
lm: Demote LM guest logs to LOG_DEBUG
5 years ago
ameerj
7709a7cdc0
lm: Demote guest logs to LOG_DEBUG
Guest logs are not very useful, as they are intended for use by the game developers during development. As such, they provide little meaning to be logged by yuzu and tend to overwhelm the log output at times.
5 years ago
bunnei
2f02587965
Merge pull request #6456 from Morph1984/very-important-changes
configure_cpu_debug: Clarify settings behavior
5 years ago
Fernando Sahmkow
441cafdaf4
Merge pull request #6448 from Morph1984/recursive-dir-iterator
common: fs: Use the normal directory iterator in *Recursively functions
5 years ago
Mai M
80d43a1102
Merge pull request #6463 from Morph1984/restructure-logging
common: logging: Restructure logging backend
5 years ago
Morph
e91bf05ce6
general: Remove extraneous includes
5 years ago
Morph
5c635f8d09
common: logging: Restructure backend code
5 years ago
Morph
9fa79c001d
common: logging: backend: Wrap IOFile in a unique_ptr
Allows us to forward declare Common::FS::IOFile.
5 years ago
Morph
d7537c6638
common: fs: file: Flush the file to the disk when Flush() is called
std::fflush does not guarantee that file buffers are flushed to the disk.
Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk.
5 years ago
Morph
88f735f55a
Merge pull request #6452 from german77/sixaxis_firmware_stub
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
5 years ago
Morph
eadb781320
configure_cpu_debug: Clarify settings behavior
This makes it clear that the disabled settings only take effect when CPU Accuracy is set to Debug Mode.
5 years ago
Morph
367c4a676f
common: fs: Use the normal directory iterator in *Recursively functions
MSVC's implementation of recursive_directory_iterator throws an exception on an error despite a std::error_code being passed into its constructor. This is most likely a bug in MSVC's implementation since directory_iterator does not throw an exception on an error.
We can replace the usage of recursive_directory_iterator for now until MSVC fixes their implementation of it.
5 years ago
bunnei
2e29db6e91
Merge pull request #6453 from lat9nq/libusb-fix-msvc
externals: Don't set FOUND or VERSION on LIBUSB
5 years ago
lat9nq
9e98d307a1
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.
5 years ago
bunnei
1068cfe91d
Merge pull request #6451 from Morph1984/check-disk-space-dump
yuzu: main: Ensure enough space is available for RomFS dumping
5 years ago
german77
7ae1e7c0bb
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
5 years ago
Mai M
653edced9b
Merge pull request #6422 from FernandoS27/i-am-the-senate
Implement/Port Fastmem from Citra to Yuzu
5 years ago
Morph
dfca39bf9c
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.
5 years ago
bunnei
27976eb579
Merge pull request #6443 from Morph1984/k-light-condition-variable
kernel: KLightConditionVariable: Update implementation to 12.x
5 years ago
Markus Wick
161ade6da0
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.
5 years ago
ReinUsesLisp
f664a4d4c1
common/host_shader: Load Windows 10 functions dynamically
Workaround old headers and libraries shipped on MinGW.
5 years ago
Fernando Sahmkow
86b5f4a630
GPUTHread: Remove async reads from Normal Accuracy.
5 years ago
ReinUsesLisp
57252b0c1d
rasterizer: Update pages in batches
5 years ago
ReinUsesLisp
f36a769085
host_memory: Support staged VirtualProtect calls
5 years ago
FernandoS27
3147b9e34c
General: Add settings for fastmem and disabling adress space check.
5 years ago
Markus Wick
8d2a08553e
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.
5 years ago
Markus Wick
99f6d60a99
core: Make use of fastmem
6 years ago
ReinUsesLisp
ba034a5724
tests: Add tests for host memory
5 years ago
Markus Wick
9a4cec64e1
common/host_memory: Add Linux implementation
5 years ago
ReinUsesLisp
1f0491900b
common/host_memory: Add interface and Windows implementation
5 years ago
Morph
41e6dd733c
Merge pull request #6450 from lat9nq/update-sdl
externals: Update SDL to 2f248a2a
5 years ago
lat9nq
79090c34bf
externals: Update SDL to 2f248a2a
5 years ago
bunnei
78d9caa5df
Merge pull request #6407 from lat9nq/fix-libusb-2
cmake: Use autotools for libusb linking generally on GNU, and cleanup
5 years ago
bunnei
f0732b09b8
Merge pull request #6445 from degasus/fix_ubsn
Fix GCC undefined behavior sanitizer.
5 years ago
Morph
006ca28fc8
kernel: Unconditionally set thread state when appropriate
5 years ago
Morph
3509855179
kernel: KLightConditionVariable: Update implementation to 12.x
Updates the implementation of KLightConditionVariable to FW 12.x
5 years ago
bunnei
531246344f
Merge pull request #6444 from bunnei/fix-sm-sessions
hle: service: sm: Remove redundant session reservation, etc.
5 years ago
Markus Wick
e7c2b054c1
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.
5 years ago
bunnei
cb75c58714
hle: service: sm: Remove redundant session reservation, etc.
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
5 years ago
bunnei
63bc3eef98
hle: service: Increase arbitrary max sessions limit.
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
5 years ago
bunnei
1767bdec81
Merge pull request #6441 from bunnei/fix-session-handler
hle: kernel: KServerSession: Fix client disconnected.
5 years ago
bunnei
6c3c99c915
hle: kernel: KClientPort: Add an assert for session count.
- Prevents us from over decrementing num_sessions.
5 years ago
bunnei
73d30a5446
hle: service: sm: Fix GetService setup of session & port.
5 years ago
bunnei
407cf4ffdb
hle: service: Use correct size for ServerSessionCountMax.
5 years ago