summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-22Merge pull request #6512 from ReinUsesLisp/wait-detached-stasksMai M
common/detached_tasks: Wait for tasks before shutting down
2021-06-22Merge pull request #6509 from ReinUsesLisp/mouse-dataraceMai M
input_common/mouse_input: Fix data race
2021-06-22Merge pull request #6510 from ReinUsesLisp/npad-data-raceMai M
npad: Fix data race when updating devices
2021-06-22Merge pull request #6493 from Morph1984/fs-nodiscardbunnei
common: fs: Miscellaneous changes
2021-06-22Merge pull request #6472 from Morph1984/splbunnei
service: spl: Implement general SPL service
2021-06-22Merge pull request #6483 from Morph1984/get-tz-filebunnei
service: time: Use GetFileRelative to get files within subdirectories
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 #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-22common/detached_tasks: Wait for tasks before shutting downRodrigo Locatti
If this is not waited on, the synchronization primitives are destroyed whe main exits and the detached task ends up signalling garbage and not properly finishing.
2021-06-22npad: Fix data race when updating devicesRodrigo Locatti
Add a lock to avoid data races. This reduces the number of -fsanitize=thread errors significantly.
2021-06-22input_common/mouse_input: Fix data raceRodrigo Locatti
Fix data race using std::jthread and std::stop_token.
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-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-18service: time: Use GetFileRelative to get files within subdirectoriesMorph
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
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-16spl: Mark the other functions as unimplementedMorph
2021-06-16spl: Implement spl::GetConfigMorph
2021-06-16hle: api_version: Add HLE API version constantsMorph
2021-06-16spl: Add the general SPL interfaceMorph
2021-06-16spl: Add SPL typesMorph
2021-06-16spl: Add SPL result codesMorph
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-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