summaryrefslogtreecommitdiff
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 #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-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-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-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-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-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>