Age | Commit message (Collapse) | Author |
|
This provides a more concrete example of what a regular file is and isn't.
|
|
These enforce requiring the file to exist prior to opening.
|
|
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
|
|
Similarly, Flush() is typically called to attempt to flush a file into the disk. In the one case where this is used, we do not care whether the flush has succeeded or not, making [[nodiscard]] unnecessary.
|
|
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal.
As such, removing the [[nodiscard]] attribute is best for these functions.
|
|
vk_master_semaphore: Use jthread for debug thread
|
|
core: Make is_powered_on atomic
|
|
Fixes potential data races when shutting down.
|
|
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
|
|
|
|
Update dynarmic and add new unsafe CPU option.
|
|
nvflinger: Add experimental toggle to disable buffer swap interval limits
|
|
externals: httplib: replace custom httplib header with upstream as submodule
|
|
|
|
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
|
|
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
|
|
|
|
Avoids overwhelming the log with validation errors that are not applicable
|
|
|
|
Enabling this setting will allow some titles to present more frames to
the screen as they become available in the nvflinger buffer queue.
|
|
Audio: SDL2 audio backend
|
|
texture_cache/util: Avoid relaxed image views on different bytes per block
|
|
textures: Add a toggle for GPU Accelerated ASTC decoder
|
|
fsp_srv: Fix filesystem access logging
|
|
The Append open mode will create a new file if said file does not exist at a given path, making this call redundant.
|
|
This introduces a new setting Enable FS Access Log which saves the filesystem access log to sdmc:/FsAccessLog.txt
If this setting is not enabled, this will indicate to FS to not call OutputAccessLogToSdCard.
Fixes softlocks during loading in Xenoblade Chronicles 2 when certain DLC is enabled.
|
|
common: fs: file: Flush the file to the disk when Flush() is called
|
|
Per the spec, L1 is clamped to the value 0xff if it is greater than 0xff. An oversight caused us to take the maximum of L1 and 0xff, rather than the minimum.
Huge thanks to wwylele for finding this.
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
|
|
|
|
|
|
Users may want to fall back to the CPU ASTC texture decoder due to hangs
and crashes that may be caused by keeping the GPU under compute heavy
loads for extended periods of time. This is especially the case in games
such as Astral Chain which make extensive use of ASTC textures.
|
|
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.
|
|
Avoids API usage errors on UE4 titles leading to crashes.
|
|
configure_cpu_debug: Clarify settings behavior
|
|
common: fs: Use the normal directory iterator in *Recursively functions
|
|
|
|
|
|
Allows us to forward declare Common::FS::IOFile.
|
|
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.
|
|
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
|
|
This makes it clear that the disabled settings only take effect when CPU Accuracy is set to Debug Mode.
|
|
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.
|
|
yuzu: main: Ensure enough space is available for RomFS dumping
|
|
|
|
Implement/Port Fastmem from Citra to Yuzu
|
|
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.
|
|
kernel: KLightConditionVariable: Update implementation to 12.x
|
|
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.
|
|
Workaround old headers and libraries shipped on MinGW.
|
|
|