| Age | Commit message (Collapse) | Author |
|
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
|
|
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.
|
|
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.
|
|
Allows for these strings to show up in the translation files.
|
|
yuzu qt: Start games from context menu
|
|
too early.
|
|
|
|
yuzu-cmd: Fix OpenGL rendering
|
|
- We no longer need to queue up service threads to be destroyed.
- Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
|
|
This connects the BootGame function to the context menu. In addition,
there is an option to boot without using the custom configuration.
|
|
decoders: Avoid out-of-bounds access
|
|
|