aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/config.cpp
Commit message (Collapse)AuthorAgeFilesLines
* config: Unify config handling under frontend_commont8952023-11-211-1309/+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.
* Merge pull request #12007 from german77/moar_buttonsliamwhite2023-11-161-0/+1
|\ | | | | core: hid: Split SL and SR buttons
| * core: hid: Split SL and SR buttonsgerman772023-11-111-0/+1
| |
* | yuzu: Save mute when in background settingNarr the Reg2023-11-101-0/+2
|/
* yuzu: Fix restore shortcuts buttonNarr the Reg2023-10-211-1/+2
|
* yuzu: Enable to use controller to restart a gameflodavid2023-10-121-1/+1
| | | | | | - Show the right confirm dialog if wanted - Create generic method to ask close confirmation - Add "R + Plus + Minus" default shortcut to Restart emulation
* yuzu: Enable to use controller to close a gameflodavid2023-10-121-1/+1
| | | | | | | | | - Add General setting to choose if a confirm dialog is shown when stopping - Show the right confirm dialog if wanted - Reuse dialog window that ask to close the game - Add "L + Plus + Minus" default shortcut to Stop emulation - Create generic question dialog based on TAS dialog - It allows controller interaction on most dialogs
* general: Convert use_docked_mode to an enumerationlat9nq2023-08-221-4/+5
| | | | Allows some special interactions with it in the Qt frontend.
* config: Read the entire screenshots categorylat9nq2023-08-151-2/+1
|
* config(qt): Fix name of network categorylat9nq2023-08-021-2/+1
| | | | | | | Turns out the network interface is in the Services category. Can't wait get rid of this whole config. Addresses yuzu-emu/yuzu/issues/11205
* config(qt): Use qt_config directly to read configlat9nq2023-08-021-2/+4
| | | | | | ReadSetting with the default is a convenience function reading settings, not for use in an internal environment. It tries to manage the default value of a setting.
* config(qt): Write the UiGeneral categorylat9nq2023-07-301-0/+1
|
* config(qt): Fix generic read settinglat9nq2023-07-291-7/+11
| | | | Previously was not respecting whether the setting was default.
* config: Read the Network categorylat9nq2023-07-221-0/+11
|
* config: Remove unused functionslat9nq2023-07-211-81/+0
|
* settings: Delete cpu_accuracy_first_timelat9nq2023-07-211-5/+0
| | | | Almost a 2 year old migration setting now
* (ui,)settings: Use explicit instantiationlat9nq2023-07-211-3/+3
| | | | Reduces compile times a tad on clang.
* settings,general: Rename non-confirming enumslat9nq2023-07-211-4/+4
|
* configure_system: Implement with for looplat9nq2023-07-211-0/+2
|
* settings: Add UiGeneral classlat9nq2023-07-211-0/+1
|
* config: Don't merge the mapslat9nq2023-07-211-9/+10
| | | | Me shooting myself in the foot 3 days in advance.
* configuration: Move CreateWidget to a classlat9nq2023-07-211-0/+3
| | | | | We were passing so many objects between the function and the caller that it needed to be redesigned.
* settings: Recategorize a bitlat9nq2023-07-211-2/+10
| | | | Will help with generating config UI later.
* settings: Add a registry of settingslat9nq2023-07-211-480/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 optionslat9nq2023-07-211-4/+8
| | | | Just puts them all neatly into one place.
* input_common: Tune mouse controlsNarr the Reg2023-06-281-4/+2
|
* Merge pull request #9663 from EBADBEEF/disable-controller-appletNarr the Reg2023-06-271-0/+2
|\ | | | | qt: add option to disable controller applet
| * qt: add option to disable controller appletEBADBEEF2023-01-221-0/+2
| | | | | | | | | | | | | | - add checkbox to disable the controller applet UI - when controller applet is disabled, use the yuzu-cmd fallback controller applet that applies controller config based on rules - See https://github.com/yuzu-emu/yuzu/issues/8552 for some discussion
* | Merge pull request #10495 from bm01/masterliamwhite2023-06-271-3/+30
|\ \ | | | | | | input_common: Redesign mouse panning
| * | input_common: Redesign mouse panningBaptiste Marie2023-06-121-3/+30
| | |
* | | video_core: optionally skip barriers on feedback loopsLiam2023-06-141-0/+2
|/ /
* | Merge pull request #10685 from liamwhite/serialization-is-hardMorph2023-06-101-0/+2
|\ \ | | | | | | qt: persist framerate sync option
| * | qt: persist framerate sync optionLiam2023-06-091-0/+2
| | |
* | | yuzu: add opengl shader backend info in status barxcfrg2023-06-041-0/+6
|/ /
* | Merge pull request #10352 from grimkor/add-context-menu-status-bar-settingsliamwhite2023-06-011-0/+36
|\ \ | | | | | | add context menu for status bar settings
| * | add context menu for filter and anti-aliasing status buttonsgrimkor2023-05-241-0/+36
| | |
* | | textures: add BC1 and BC3 compressors and recompression settingLiam2023-05-231-0/+5
|/ /
* | Merge pull request #10181 from lat9nq/intel-compute-toggleliamwhite2023-05-151-0/+2
|\ \ | | | | | | configure_graphics: Add option to enable compute pipelines for Intel proprietary
| * | yuzu-qt/config: Add option to disable compute on Intellat9nq2023-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is only visible if an Intel GPU using the proprietary driver is found during Vulkan device enumeration. configure_graphics: More directly get driver id Vulkan::Device does quite a bit more than we need just to see the driver ID here.
* | | service: nfp: Allow to load with a different amiibo idgerman772023-05-091-0/+2
| | |
* | | Settings: add option to enable / disable reactive flushingFernando Sahmkow2023-05-071-0/+2
|/ /
* | Merge pull request #10125 from lat9nq/vsync-selectbunnei2023-05-061-2/+8
|\ \ | | | | | | configuration: Expose separate swap present modes
| * | configuration: Expose separate swap present modeslat9nq2023-05-021-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | settings: remove pessimistic flushingLiam2023-05-031-2/+0
| | |
* | | Merge pull request #10124 from liamwhite/pebkacMorph2023-05-031-2/+2
|\ \ \ | |/ / |/| | settings: rename extended memory layout to unsafe, move from general to system
| * | settings: rename extended memory layout to unsafe, move from general to systemLiam2023-04-301-2/+2
| | |
* | | vk_present_manager: Add toggle for async presentationGPUCode2023-05-011-0/+2
|/ /
* | Revert "yuzu: config: Remove player 8 and 9 from config file"Narr the Reg2023-02-261-1/+6
| |
* | Merge pull request #9849 from ameerj/async-astcliamwhite2023-02-261-0/+2
|\ \ | | | | | | texture_cache: Add asynchronous ASTC texture decoding
| * | configuration: Add async ASTC decode settingameerj2023-02-221-0/+2
| | |