summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | core,common,yuzu qt: Add CPU accuracy option 'Auto'Gravatar lat9nq2021-07-084-16/+50
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current CPU accuracy settings in yuzu are fairly polarized and require more than common knowledge to know what the optimal settings for yuzu would be. This adds a curated option called 'Auto' that applies a few at the moment known-good unsafe optimizations to Dynarmic.
* | | | / yuzu qt: config: Only save renderer_debug as a global settingGravatar lat9nq2021-07-091-2/+8
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bug fix. Enabling graphics debug mode, then saving a custom configuration causes graphics debugging to be saved and read from the custom configuration. Isolate it the same way we isolate the CPU settings.
* | | | common/thread_worker: Stop workers on stop_token when waitingGravatar ReinUsesLisp2021-07-081-18/+20
| | | |
* | | | common/thread_worker: Add support for stateful threadsGravatar ReinUsesLisp2021-07-083-78/+86
| | | |
* | | | common/thread_worker: Simplify logicGravatar FernandoS272021-07-081-8/+1
| | | |
* | | | common/thread_worker: Fix data raceGravatar FernandoS272021-07-082-1/+18
| | | |
* | | | common/thread_worker: Use unique functionGravatar ReinUsesLisp2021-07-082-28/+24
| | | |
* | | | common: Add unique functionGravatar ReinUsesLisp2021-07-084-0/+172
| | | |
* | | | common/thread_worker: Add wait for requests methodGravatar ReinUsesLisp2021-07-082-0/+11
|/ / /
* | | Merge pull request #6539 from lat9nq/default-settingGravatar Ameer J2021-07-0839-790/+940
|\ \ \ | | | | | | | | general: Move most settings' defaults and labels into their definition
| * | | general: Code formatting improvementsGravatar lat9nq2021-07-084-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | config: Read UISettings as basic settingsGravatar lat9nq2021-07-021-30/+19
| | | | | | | | | | | | | | | | | | | | I must have been asleep or something. These need to be read with the new ReadBasicSetting function.
| * | | settings: Set resolution_factor default to 1Gravatar lat9nq2021-07-011-1/+1
| | | | | | | | | | | | | | | | Fixes Disgaea 6 Demo issues.
| * | | yuzu_cmd: config: Pass a reference inGravatar lat9nq2021-06-302-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds documentation for the ReadSetting function. Address review comments. Co-authored-by: Mai M. <mathew1800@gmail.com>
| * | | core, input_common: Miscellaneous fixesGravatar lat9nq2021-06-283-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | yuzu qt: Make most UISettings a BasicSettingGravatar lat9nq2021-06-2812-91/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
| * | | general: Make most settings a BasicSettingGravatar lat9nq2021-06-2832-660/+807
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | configuration: Defer to common/settings for per-game settings defaultsGravatar lat9nq2021-06-262-127/+100
| | | | | | | | | | | | | | | | | | | | Avoids double-setting defaults, and avoids potential accidents when inconsistently setting the default on new settings.
| * | | common: Force defaults for Settings::Setting'sGravatar lat9nq2021-06-261-44/+57
| | | | | | | | | | | | | | | | Requires a default value when creating each per-game setting.
* | | | Out of bound blit (#6531)Gravatar Feng Chen2021-07-082-58/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix out of bound blit error * Fix code read * Fix ci error Co-authored-by: Feng Chen <chen.feng@gloritysolutions.com>
* | | | Merge pull request #6564 from Kelebek1/AudioGravatar Morph2021-07-082-18/+51
|\ \ \ \ | |_|/ / |/| | | Support more PCM formats
| * | | Support more PCM formats. Fixes Ys IX audio.Gravatar Kelebek12021-07-062-18/+51
| | | |
* | | | Merge pull request #6569 from Kelebek1/VolGravatar Morph2021-07-085-75/+81
|\ \ \ \ | | | | | | | | | | audio_core: Preserve front channel volume after 6 to 2 downmix
| * | | | audio_core: Preserve front channel volume after 6 to 2 downmixGravatar Kelebek12021-07-085-75/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many games report 6 channel output while only providing data for 2. We only output 2-channel audio regardless, and in the downmixing, front left/right only provide 36% of their volume. This is done assuming all of the other channels also contain valid data, but in many games they don't. This PR alters the downmixing to preserve front left/right, so volume is not lost. This improves volume in Link's Awakening, New Super Mario Bros U, Disgaea 6, Super Kirby Clash.
* | | | | Merge pull request #6567 from Kelebek1/Audio2Gravatar bunnei2021-07-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | [audren] Report 2 channels active rather than 1
| * | | | | Report 2 channels active. Fixes Tales of Vesperia's mono channel audio.Gravatar Kelebek12021-07-061-1/+1
| | |/ / / | |/| | |
* | | | | util_shaders: Fix BindImageTextureGravatar lat9nq2021-07-071-2/+2
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://gitlab.freedesktop.org/mesa/mesa/-/issues/3820#note_753371 we need to set these to true for use with 3D textures. Fixes BOTW teleporting on RadeonSI and iris.
* | | | Merge pull request #6562 from Morph1984/flush-behaviorGravatar bunnei2021-07-073-11/+48
|\ \ \ \ | | | | | | | | | | common: fs: More misc. changes
| * | | | common: logging: backend: Close the file after exceeding the write limitGravatar Morph2021-07-061-8/+11
| | | | | | | | | | | | | | | | | | | | There's no point in keeping the file open after the write limit is exceeded. This allows the file to be committed to the disk shortly after it is closed and avoids redundantly checking whether or not the write limit is exceeded.
| * | | | common: fs: file: Revert Flush to its previous behavior and add CommitGravatar Morph2021-07-062-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It became apparent that logging can continuously spam errors that trigger file flushing. Since committing the files to disk is an expensive operation, this causes unnecessarily high disk usage. As such, we will revert Flush() to the previous behavior and add a Commit() member function in the event that this behavior is needed.
| * | | | common: fs: file: Flush the file in GetSizeGravatar Morph2021-07-061-0/+3
| |/ / / | | | | | | | | | | | | This ensures that GetSize always retrieves the correct file size after a write operation.
* | | | Merge pull request #6497 from FernandoS27/scotty-doesnt-knowGravatar bunnei2021-07-0613-59/+581
|\ \ \ \ | | | | | | | | | | GPU Memory Manager - Correct handling of non continuous backing memory.
| * | | | Texture Cache: Fix collision with multiple overlaps of the same sparse texture.Gravatar Fernando Sahmkow2021-07-041-1/+6
| | | | |
| * | | | Texture Cache: Fix GCC & Clang.Gravatar Fernando Sahmkow2021-07-042-11/+11
| | | | |
| * | | | Texture Cache: Address feedback.Gravatar Fernando Sahmkow2021-07-045-18/+37
| | | | |
| * | | | Texture Cache: Improve accuracy of sparse texture detection.Gravatar Fernando Sahmkow2021-07-046-131/+342
| | | | |
| * | | | Texture Cache: Initial Implementation of Sparse Textures.Gravatar Fernando Sahmkow2021-07-0412-23/+310
| | | | |
* | | | | CMakeLists: Treat -Wsign-compare as an error on GCC/ClangGravatar Morph2021-07-064-8/+1
| |/ / / |/| | | | | | | | | | | Treats (un)signed comparison mismatches as errors to be consistent with MSVC
* | | | Merge pull request #6537 from Morph1984/warningsGravatar bunnei2021-07-0512-58/+27
|\ \ \ \ | | | | | | | | | | general: Enforce multiple warnings in MSVC
| * | | | CMakeLists: Disable all warnings for external headersGravatar Morph2021-06-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets us avoid needing to wrap external headers with #pragma warning directives for warnings we treat as errors and avoids generating warnings for external code. Thanks to MerryMage for pointing this out.
| * | | | video_core: Remove #pragma warning directives for external headersGravatar Morph2021-06-282-15/+0
| | | | |
| * | | | input_common: Remove #pragma warning directives for external headersGravatar Morph2021-06-282-14/+0
| | | | |
| * | | | CMakeLists: Enforce C4018, C4267, C4305, C4389Gravatar Morph2021-06-281-3/+7
| | | | |
| * | | | core: Enforce C4242Gravatar Morph2021-06-281-6/+3
| | | | |
| * | | | input_common: Enforce C4242Gravatar Morph2021-06-281-12/+4
| | | | |
| * | | | video_core: Enforce C4242Gravatar Morph2021-06-281-3/+2
| | | | |
| * | | | video_core: Silence signed/unsigned mismatch warningsGravatar Morph2021-06-284-5/+6
| | | | |
* | | | | Merge pull request #6556 from Morph1984/default-miiGravatar bunnei2021-07-051-2/+3
|\ \ \ \ \ | | | | | | | | | | | | service: mii: Retrieve the correct default miis.
| * | | | | service: mii: Retrieve the correct default miis.Gravatar Morph2021-07-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | We were including the first 2 default miis which are not meant to be shown in games. With this change, we properly retrieve the 6 default miis shown in games, with 3 of each gender.
* | | | | | Merge pull request #6540 from Kelebek1/nvdecGravatar Ameer J2021-07-0510-356/+522
|\ \ \ \ \ \ | | | | | | | | | | | | | | Slightly refactor NVDEC and codecs for readability and safety