summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-08general: Code formatting improvementslat9nq
Slight improvements to readability. Dropped suggestions for string_view (settings.h:101), pass by value (settings.h:82), reverting double to a float (config.cpp:316), and other smaller ones, some out of scope. Addresses review feedback. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-07-02config: Read UISettings as basic settingslat9nq
I must have been asleep or something. These need to be read with the new ReadBasicSetting function.
2021-07-01settings: Set resolution_factor default to 1lat9nq
Fixes Disgaea 6 Demo issues.
2021-06-30yuzu_cmd: config: Pass a reference inlat9nq
Also adds documentation for the ReadSetting function. Address review comments. Co-authored-by: Mai M. <mathew1800@gmail.com>
2021-06-28core, input_common: Miscellaneous fixeslat9nq
bcat: Fix settings access telemetry_session: Fix settings accesses So this is what I get for testing with the web service disabled. touch_from_button: Fix settings access for clang
2021-06-28yuzu qt: Make most UISettings a BasicSettinglat9nq
For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
2021-06-28general: Make most settings a BasicSettinglat9nq
Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
2021-06-26configuration: Defer to common/settings for per-game settings defaultslat9nq
Avoids double-setting defaults, and avoids potential accidents when inconsistently setting the default on new settings.
2021-06-26common: Force defaults for Settings::Setting'slat9nq
Requires a default value when creating each per-game setting.
2021-06-25Merge pull request #6528 from ReinUsesLisp/device-memoryAmeer J
vulkan_device: Make device memory match the rest of the file
2021-06-25vulkan_device: Make device memory match the rest of the fileReinUsesLisp
Match the style in the file.
2021-06-24Merge pull request #6496 from ameerj/astc-fixesbunnei
astc: Various robustness enhancements for the gpu decoder
2021-06-24Merge pull request #6519 from Wunkolo/mem-size-literalbunnei
common: Replace common_sizes into user-literals
2021-06-24common: Replace common_sizes into user-literalsWunkolo
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals.
2021-06-24Merge pull request #6522 from Morph1984/pragmabunnei
general: Add missing #pragma once directives
2021-06-24general: Add missing #pragma once directivesMorph
2021-06-24Add missing includes (#6521)Chloe
* Add missing includes * Add array
2021-06-23Fix bold tagSchplee
2021-06-23Fix typo in ReadmeSchplee
2021-06-23Update ReadmeSchplee
2021-06-23Merge pull request #6517 from lioncash/fmtlibbunnei
externals: Update fmt to 8.0.0
2021-06-23Merge pull request #6504 from Kelebek1/samples-playedbunnei
[audout] Implement GetAudioOutPlayedSampleCount
2021-06-23General: Resolve fmt specifiers to adhere to 8.0.0 API where applicableLioncash
Also removes some deprecated API usages.
2021-06-23Merge pull request #6518 from lioncash/funcbunnei
maxwell3d: Add missing return in default SizeInBytes() case
2021-06-23maxwell3d: Add missing return in default SizeInBytes() caseLioncash
We were returning '1' in ComponentCount()'s default case but were neglecting to do the same with SizeInBytes().
2021-06-23externals: Update dynarmic to allow fmt compilation to succeedLioncash
2021-06-23Merge pull request #6465 from FernandoS27/sex-on-the-beachMai M
GPU: Implement a garbage collector for GPU Caches (project Reaper+)
2021-06-23externals: Update fmt to 8.0.0Lioncash
Keeps us up to date with the latest major release. Also allows compilers that support it to perform compile-time format string checking.
2021-06-23Merge pull request #6508 from ReinUsesLisp/bootmanager-stop-tokenMai M
bootmanager: Use std::stop_source for stopping emulation
2021-06-22Merge pull request #6514 from OZtistic/masterMorph
Simple resizing of Per-Game configuration window and removal of useless Help question mark button in the title bar
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-23Simple resizing of the Per-Game configuration window and removal of useless ↵OZtistic
Help question mark button in the title bar
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-22Reaper: Set minimum cleaning limit on OGL.Fernando Sahmkow
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.