summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-09general: add default configurations for applet modeGravatar Liam1-0/+3
2023-12-30android: Migrate in-game overlay settings to iniGravatar t8951-0/+2
2023-12-12android: Add per-game driversGravatar t8951-0/+2
2023-12-09settings: Clearer NCE error messagesGravatar GPUCode1-2/+6
2023-11-25yuzu: create linux group in general settingsGravatar flodavid1-0/+2
- Create files dedicated to starting and stopping gamemode functions - Use them in yuzu and yuzu_cmd modules
2023-11-25common: Enforce fastmem for nce usageGravatar GPUCode1-1/+1
2023-11-25android: Add cpu bakend gui toggleGravatar GPUCode1-1/+7
2023-11-25arm: Implement native code execution backendGravatar Liam1-2/+2
2023-11-25device_memory: Enable direct mapped addresses for nceGravatar GPUCode1-2/+8
2023-11-25settings: Add cpu backend settingGravatar GPUCode1-0/+5
2023-11-21config: Unify config handling under frontend_commonGravatar t8951-2/+2
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.
2023-11-10yuzu: Save mute when in background settingGravatar Narr the Reg1-0/+2
2023-10-12yuzu: Use new setting method for stop emulationGravatar Florian1-0/+5
2023-09-23Query Cachge: Fully rework Vulkan's query cacheGravatar Fernando Sahmkow1-3/+7
2023-08-29android: Expose interface for getting settings from native codeGravatar Charles Lombardo1-0/+2
Completely removes code related to parsing the settings file on the java side. Now all settings are accessed via NativeConfig.kt and config.cpp has been modified to be closer to the core counterpart. Since the core currently uses QSettings, we can't remove reliance from Wini yet. This also includes simplifications to each settings interface to get closer to native code and prepare for per-game settings.
2023-08-22settings: Add docked mode helper functionGravatar lat9nq1-0/+5
2023-08-15settings: Add AspectRatio enum, split res scale functionGravatar lat9nq1-3/+7
2023-07-25settings: Correct Linkage member impl locationGravatar lat9nq1-3/+0
2023-07-21common,qt-config: Remove usage of forward_listGravatar lat9nq1-1/+0
2023-07-21settings: Remove sorting from logGravatar lat9nq1-4/+0
Unecessary, and would run every time the settings are logged.
2023-07-21common: Move global configuration state modifiers back to settingsGravatar lat9nq1-0/+10
2023-07-21settings: CleanupGravatar lat9nq1-2/+3
Addresses review feedback Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-07-21settings: Require time zone setting value for stirngGravatar lat9nq1-2/+2
2023-07-21settings,uisettings: Remove leading underscoreGravatar lat9nq1-1/+1
2023-07-21common,yuzu-qt: Avoid explicit instantiation on old clangGravatar lat9nq1-0/+2
Clang versions < 15 have compile issues with explicit instantiation. Disable it for these versions.
2023-07-21settings: Move IsConfiguringGlobal to settings_commonGravatar lat9nq1-9/+0
2023-07-21settings: Move some simple data to BasicSettingGravatar lat9nq1-8/+0
Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
2023-07-21(ui,)settings: Use explicit instantiationGravatar lat9nq1-0/+52
Reduces compile times a tad on clang.
2023-07-21settings: Report all contained settings valuesGravatar lat9nq1-45/+19
Also adds a couple characters that denotes the state of the setting. M for modified, or not default. C for custom, in context of per-game settings.
2023-07-21settings,general: Rename non-confirming enumsGravatar lat9nq1-3/+3
2023-07-21configure_audio: Implement ui generationGravatar lat9nq1-1/+1
Needs a considerable amount of management specific to some of the comoboboxes due to the audio engine configuration. general: Partial audio config implmentation configure_audio: Implement ui generation Needs a considerable amount of management specific to some of the comoboboxes due to the audio engine configuration. general: Partial audio config implmentation settings: Make audio settings as enums
2023-07-21settings, uisettings: Initialize linkage counterGravatar lat9nq1-1/+1
2023-07-21configure_system: Implement with for loopGravatar lat9nq1-0/+1
2023-07-21settings: Add UiGeneral classGravatar lat9nq1-0/+4
2023-07-21settings: Recategorize a bitGravatar lat9nq1-2/+5
Will help with generating config UI later.
2023-07-21settings: Add a registry of settingsGravatar lat9nq1-1/+51
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
2023-07-21settings,core,config_sys: Remove optional type from custom_rtc, rng_seedGravatar lat9nq1-1/+2
core: Fix MSVC errors
2023-07-21settings: Pool SetGlobal functionsGravatar lat9nq1-59/+4
2023-07-21settings,video_core: Consolidate ASTC decoding optionsGravatar lat9nq1-2/+0
Just puts them all neatly into one place.
2023-07-10settings: Disable C++20 tzdb path on MinGWGravatar lat9nq1-1/+2
This path always results in Etc/UTC on MinGW, which often is not close to the local time zone.
2023-07-09settings: Catch runtime error from STLGravatar lat9nq1-3/+2
This function throws a runtime error we can catch on old Windows 10 installs, so we can catch it here rather than disable this path for everybody.
2023-07-05settings: Disable C++20 path on MSVCGravatar lat9nq1-1/+2
Even though it compiles and runs fine on the latest Windows versions, older LTSC builds will crash due to lacking support somewhere in the OS. For now just disable it for MSVC until either Microsoft fixes this or we no longer support 1809 LTSC.
2023-06-27settings: Clean up includesGravatar lat9nq1-2/+3
Adds <version> since we are looking at C++ implementation version details. Also moves exception header includes into the if preprocessor command since we only use it there.
2023-06-27settings: Catch runtime_error, fallback time zoneGravatar lat9nq1-3/+15
Windows will let you select time zones that will fail in their own C++ implementation library. Evidently from the stack trace, we get a runtime error to work with, so catch it and use the fallback.
2023-06-17video_core: Removed AF for all mip modes option as it's default nowGravatar Wollnashorn1-1/+0
2023-06-13video_core: Option to apply anisotropic filtering for all mipmap modesGravatar Wollnashorn1-0/+1
2023-06-08nvnflinger: allow locking framerate during video playbackGravatar Liam1-0/+1
2023-06-05common: Move system time zone string detectionGravatar lat9nq1-72/+7
Moves it from Settings to Common::TimeZone, since this algorithm doesn't depend on the setting. It also lets us use it in other libraries. common: Various fixes time_zone: Don't double up the std::abs Too many absolute values were causing mirrored time zones to resolve as the same.
2023-06-05settings: Always report a valid time zoneGravatar lat9nq1-2/+76
Prevents needing to deduce the non-Switch setting in core. Instead, we deduce the meaning of this setting where the heresy is committed, in common. settings: Remove strftime usage GetTimeZoneString: Use standard features Also forces GMT on MinGW due to broken strftime.
2023-05-23textures: add BC1 and BC3 compressors and recompression settingGravatar Liam1-0/+2