summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-22common: fs: Add a description of a regular file in IsFileMorph
This provides a more concrete example of what a regular file is and isn't.
2021-06-22vfs_real: Fix Mode to FileAccessMode conversionMorph
These enforce requiring the file to exist prior to opening.
2021-06-22common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFileMorph
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.
2021-06-22common: fs: file: Remove [[nodiscard]] attribute from FlushMorph
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.
2021-06-22common: fs: Remove [[nodiscard]] attribute on Remove* functionsMorph
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.
2021-06-22Merge pull request #6506 from ReinUsesLisp/master-semaphore-jthreadbunnei
vk_master_semaphore: Use jthread for debug thread
2021-06-22Merge pull request #6495 from lat9nq/mingw-vista-stylebunnei
ci: windows: Copy the Qt styles directory when packaging
2021-06-22Merge pull request #6511 from ReinUsesLisp/core-is-powered-data-raceMai M
core: Make is_powered_on atomic
2021-06-22core: Make is_powered_on atomicRodrigo Locatti
Fixes potential data races when shutting down.
2021-06-21Merge pull request #6481 from Morph1984/missing-peak-setbunnei
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
2021-06-21vk_master_semaphore: Use jthread for debug threadReinUsesLisp
2021-06-21Merge pull request #6499 from FernandoS27/we-were-on-a-breakbunnei
Update dynarmic and add new unsafe CPU option.
2021-06-21Merge pull request #6475 from ameerj/unlimit-fpsbunnei
nvflinger: Add experimental toggle to disable buffer swap interval limits
2021-06-21Merge pull request #6486 from CaptV0rt3x/httplibMai M
externals: httplib: replace custom httplib header with upstream as submodule
2021-06-20Update dynarmic and add new unsafe CPU option.Fernando Sahmkow
2021-06-19ci: windows: Copy the styles directory when packaginglat9nq
Qt can make use of qwindowsvistastyle.dll if present, and our MinGW container has the library, but it was not being copied during the packaging process. Thus, yuzu looked like a Windows 98 application when using the PR-verify artifacts. This copies over the DLL during packaging, for that sweet-sweet Windows Vista style. In addition, set the Qt plugins path instead of the plugins/platforms path. This way we can use the directory directly, rather than appending a `..` everytime we need something just outside of it.
2021-06-19Merge pull request #6494 from lat9nq/mingw-fix-fastmemMorph
host_memory: Correct MEM_RESERVE_PLACEHOLDER
2021-06-19host_memory: Correct MEM_RESERVE_PLACEHOLDERlat9nq
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our manually imported version of it drops the last zero.
2021-06-19externals: httplib: replace custom httplib header with upstream as submodule.Vortex
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
2021-06-18Merge pull request #6484 from CaptV0rt3x/discord-rpcMai M
update submodule discord-rpc to latest [now deprecated]
2021-06-18update submodule discord-rpc to latest [now deprecated]Vortex
2021-06-18Merge pull request #6478 from ameerj/vk-layer-settingsRodrigo Locatti
vulkan_debug_callback: Skip logging known false-positive validation errors
2021-06-18kernel: Fix missing peak set in KResourceLimit::SetLimitValueMorph
2021-06-17vulkan_debug_callback: Skip logging known false-positive validation errorsameerj
Avoids overwhelming the log with validation errors that are not applicable
2021-06-17config: Add frame limiter toggle hotkeyameerj
2021-06-17nvflinger: Add toggle to disable buffer swap interval limitsameerj
Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue.
2021-06-16Merge pull request #6418 from clementgallet/sdl-audio-backendbunnei
Audio: SDL2 audio backend
2021-06-16Merge pull request #6469 from ReinUsesLisp/blit-view-compatAmeer J
texture_cache/util: Avoid relaxed image views on different bytes per block
2021-06-16Merge pull request #6464 from ameerj/disable-astcbunnei
textures: Add a toggle for GPU Accelerated ASTC decoder
2021-06-16Merge pull request #6460 from Morph1984/fs-access-log-fixMorph
fsp_srv: Fix filesystem access logging
2021-06-16common: fs: file: Remove redundant call to WriteStringToFileMorph
The Append open mode will create a new file if said file does not exist at a given path, making this call redundant.
2021-06-16fsp_srv: Fix filesystem access loggingMorph
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.
2021-06-15Merge pull request #6462 from Morph1984/proper-flushbunnei
common: fs: file: Flush the file to the disk when Flush() is called
2021-06-15astc_decoder: Fix LDR CEM1 endpoint calculationameerj
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>
2021-06-15yuzu_cmd/config: Add Accelerate ASTC and missing NVDEC emulation settingsameerj
2021-06-15configure_graphics: Add Accelerate ASTC decoding settingameerj
2021-06-15textures: Reintroduce CPU ASTC decoderameerj
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.
2021-06-14Merge pull request #6470 from ameerj/lm-silencebunnei
lm: Demote LM guest logs to LOG_DEBUG
2021-06-14lm: Demote guest logs to LOG_DEBUGameerj
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.
2021-06-14texture_cache/util: Avoid relaxed image views on different bytes per pixelReinUsesLisp
Avoids API usage errors on UE4 titles leading to crashes.
2021-06-14Merge pull request #6456 from Morph1984/very-important-changesbunnei
configure_cpu_debug: Clarify settings behavior
2021-06-14Merge pull request #6448 from Morph1984/recursive-dir-iteratorFernando Sahmkow
common: fs: Use the normal directory iterator in *Recursively functions
2021-06-13Merge pull request #6463 from Morph1984/restructure-loggingMai M
common: logging: Restructure logging backend
2021-06-13general: Remove extraneous includesMorph
2021-06-13common: logging: Restructure backend codeMorph
2021-06-13common: logging: backend: Wrap IOFile in a unique_ptrMorph
Allows us to forward declare Common::FS::IOFile.
2021-06-13common: fs: file: Flush the file to the disk when Flush() is calledMorph
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.
2021-06-13Merge pull request #6452 from german77/sixaxis_firmware_stubMorph
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
2021-06-13configure_cpu_debug: Clarify settings behaviorMorph
This makes it clear that the disabled settings only take effect when CPU Accuracy is set to Debug Mode.
2021-06-12common: fs: Use the normal directory iterator in *Recursively functionsMorph
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.