summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/config.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: Unify config handling under frontend_commonGravatar t8952023-11-211-279/+0
| | | | | | Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings. As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
* cmd/config: Remove uncaught usage of stoulGravatar lat9nq2023-09-131-1/+1
|
* configure_system: Implement with for loopGravatar lat9nq2023-07-211-0/+1
|
* settings: Recategorize a bitGravatar lat9nq2023-07-211-1/+5
| | | | Will help with generating config UI later.
* settings: Add a registry of settingsGravatar lat9nq2023-07-211-138/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LoadString: Sanitize input settings: Handle empty string, remove redundant category settings: Rename Input to Controls, FS to DataStorage settings: Fix Controls groups information settings: Move use_docked_mode to System (again) settings: Document settings: Add type identification function settings: Move registry into values settings: Move global_reset_registry into values settings: Separate AdvGraphics from Renderer settings: More document squash settings: Use linkage object uisettings: Move registry into settings Probably wont build without uisettings: Use settings linkage object config: Load settings with a map Uses the new all_settings vector to load settings. qt-config: Rename settings category qt config: Rename to read category config: Read/write contols category with for_each This is extremely limited due to the complexity of the Controls group, but this handles the the settings that use the interface. qt-config: Use new settings registry qt-config: Read/write advgrphics qt-config: Use settings linkage object yuzu_cmd: Load setting off of vector cmd-config: Finish settings rename config: Read controls settings group with for_each cmd/config: Move registry into values cmd: Read adv graphics cmd-config: Use settings linkage object
* settings,video_core: Consolidate ASTC decoding optionsGravatar lat9nq2023-07-211-2/+0
| | | | Just puts them all neatly into one place.
* textures: add BC1 and BC3 compressors and recompression settingGravatar Liam2023-05-231-0/+1
|
* service: nfp: Allow to load with a different amiibo idGravatar german772023-05-091-0/+1
|
* Settings: add option to enable / disable reactive flushingGravatar Fernando Sahmkow2023-05-071-0/+1
|
* Merge pull request #10125 from lat9nq/vsync-selectGravatar bunnei2023-05-061-1/+1
|\ | | | | configuration: Expose separate swap present modes
| * configuration: Expose separate swap present modesGravatar lat9nq2023-05-021-1/+1
| | | | | | | | | | | | | | | | Previously, yuzu would try and guess which vsync mode to use given different scenarios, but apparently we didn't always get it right. This exposes the separate modes in a drop-down the user can select. If a mode isn't available in Vulkan, it defaults to FIFO.
* | Merge pull request #10162 from lat9nq/sdl-remove-oldGravatar liamwhite2023-05-061-11/+1
|\ \ | | | | | | yuzu-sdl,audio_core: Remove antiquated warning ignore
| * | yuzu-sdl,audio_core: Remove antiquated warning ignoreGravatar lat9nq2023-05-051-11/+1
| |/ | | | | | | | | Issue was fixed a long time ago, both by SDL2 and in yuzu by including SDL2 as a system library.
* | settings: remove pessimistic flushingGravatar Liam2023-05-031-1/+0
| |
* | Merge pull request #10124 from liamwhite/pebkacGravatar Morph2023-05-031-1/+1
|\ \ | |/ |/| settings: rename extended memory layout to unsafe, move from general to system
| * settings: rename extended memory layout to unsafe, move from general to systemGravatar Liam2023-04-301-1/+1
| |
* | vk_present_manager: Add toggle for async presentationGravatar GPUCode2023-05-011-0/+1
|/
* configuration: Add async ASTC decode settingGravatar ameerj2023-02-221-0/+1
|
* input_common: Reintroduce custom pro controller supportGravatar Narr the Reg2023-02-091-0/+1
|
* yuzu_cmd: Fix mismatching controller inputGravatar german772023-02-041-0/+3
|
* Merge pull request #9552 from liamwhite/turboGravatar liamwhite2023-01-061-0/+1
|\ | | | | vulkan: implement 'turbo mode' clock booster
| * common: add setting for renderer clock workaroundGravatar Liam2023-01-041-0/+1
| |
* | video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelinesGravatar Wollnashorn2023-01-051-0/+1
|/ | | | | | As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk. These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
* yuzu-ui: Add setting for disabling macro HLEGravatar Fernando Sahmkow2023-01-041-0/+1
|
* Merge pull request #9370 from liamwhite/break-unmappedGravatar merry2022-12-061-0/+1
|\ | | | | core: add option to break on unmapped access
| * core: add option to break on unmapped accessGravatar Liam2022-12-021-0/+1
| |
* | cmake: prefer system librariesGravatar Alexandre Bouvier2022-12-041-1/+1
|/
* Merge pull request #9325 from german77/default_by_defaultGravatar liamwhite2022-11-281-1/+5
|\ | | | | yuzu-cmd: Fix default config value
| * yuzu-cmd: Fix default config valueGravatar german772022-11-271-1/+5
| |
* | FSR Sharpening Slider part 1 - only a global sliderGravatar Matías Locatti2022-11-241-0/+1
|/
* video_core: add option for pessimistic flushingGravatar Liam2022-08-251-0/+1
|
* chore: make yuzu REUSE compliantGravatar Andrea Pappacoda2022-07-271-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* Project AndioGravatar Kelebek12022-07-221-1/+1
|
* yuzu: settings: Remove framerate cap and merge unlocked framerate setting.Gravatar bunnei2022-07-161-2/+0
| | | | - These were all somewhat redundant.
* common/setting: Make ranged a property of the typeGravatar merry2022-07-151-2/+2
| | | | | - Avoids new GCC 12 warnings when Type is of form std::optional<T> - Makes more sense this way, because ranged is not a property which would change over time
* settings: Consolidate RangedSetting's with regular onesGravatar lat9nq2022-06-301-3/+3
| | | | | | | | | | | | The latest git version of GCC has issues with my diamond inheritance shenanigans. Since that's now two compilers that don't like it I thought it'd be best to just axe all of it and just have the two templates like before. This rolls the features of BasicRangedSetting into BasicSetting, and likewise RangedSetting into Setting. It also renames them from BasicSetting and Setting to Setting and SwitchableSetting respectively. Now longer name corresponds to more complex thing.
* core/debugger: support operation in yuzu-cmdGravatar Liam2022-06-101-0/+2
|
* Merge pull request #8048 from ameerj/include-purgeGravatar bunnei2022-03-211-1/+0
|\ | | | | general: Reduce unused includes across the project
| * yuzu_cmd: Reduce unused includesGravatar ameerj2022-03-201-1/+0
| |
* | yuzu_cmd: Allow user to specify config file locationGravatar lat9nq2022-03-151-4/+6
|/ | | | | | Adds an option `-c` or `--config` with one required argument that allows the user to specify to where the config file is located. Useful for scripts that run specific games with different preferences for settings.
* dynarmic: Inline exclusive memory accessesGravatar merry2022-02-271-0/+3
| | | | | | | | | | | | | | | Inlines implementation of exclusive instructions into JITted code, improving performance of applications relying heavily on these instructions. We also fastmem these instructions for additional speed, with support for appropriate recompilation on fastmem failure. An unsafe optimization to disable the intercore global_monitor is also provided, should one wish to rely solely on cmpxchg semantics for safety. See also: merryhime/dynarmic#664
* settings: Add a new "use_extended_memory_layout" setting.Gravatar bunnei2022-02-211-0/+1
| | | | - This will be used to enable emulation of a larger memory arrangement.
* config: Support motion inputsGravatar lat9nq2022-02-051-8/+28
| | | | | | | | | Motion inputs were not being read in by the config when yuzu-cmd boots up. This adds support for those. While we're at it, make a reference to the current player controls to improve readability. Also updates the if statements in the Analog and Button loops with curly braces to keep the style consistent.
* core/hid: Fully implement native mouseGravatar german772021-11-241-174/+0
|
* config: Cleanup and documentationGravatar german772021-11-241-3/+0
|
* core: Update input interpreterGravatar german772021-11-241-1/+0
|
* Frontend: Add anti-aliasing method settingGravatar Marshall Mohror2021-11-161-0/+1
|
* yuzu_cmd: Read resolution_setup and scaling_filter from configGravatar lat9nq2021-11-161-0/+2
| | | | Also adds descriptions and the settings to the default config.
* settings: Remove std::chrono usageGravatar ameerj2021-10-171-2/+1
| | | | Alleviates the dependency on chrono for all files that include settings.h
* config: Read network_interfaceGravatar lat9nq2021-10-151-0/+3
| | | Let's yuzu_cmd use a network interface. Also adds it to the default ini.