Age | Commit message (Collapse) | Author |
|
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
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
cmake: Use autotools for libusb linking generally on GNU, and cleanup
|
|
Fix GCC undefined behavior sanitizer.
|
|
|
|
Updates the implementation of KLightConditionVariable to FW 12.x
|
|
* 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.
|
|
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
|
|
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
|
|
- Prevents us from over decrementing num_sessions.
|
|
|
|
|
|
- Prevents a cloned session's handler from being overwritten by another disconnected session.
- Fixes session handler nullptr asserts with Pokemon Sword & Shield.
|
|
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
|
|
src/common/CMakeLists.txt: fix variable escaping
|
|
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
|
|
limitable_input_dialog: Implement character limiter
|
|
|
|
common/fs/path_util: Remove [[nodiscard]] from function with void return
|
|
configure_ui: Add translation context for file-scope strings
|
|
hle: kernel: Remove service thread manager and use weak_ptr.
|
|
We can't make use of the return value here, since we don't a return
value to work with.
|