summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2024-02-09general: add default configurations for applet modeLiam
2023-12-30android: Migrate in-game overlay settings to init895
2023-12-12android: Add per-game driverst895
2023-12-09settings: Clearer NCE error messagesGPUCode
2023-11-30Merge pull request #12074 from GPUCode/yuwu-on-the-metalliamwhite
Implement Native Code Execution (NCE)
2023-11-25yuzu: create linux group in general settingsflodavid
- Create files dedicated to starting and stopping gamemode functions - Use them in yuzu and yuzu_cmd modules
2023-11-25common: Enforce fastmem for nce usageGPUCode
2023-11-25android: Add cpu bakend gui toggleGPUCode
2023-11-25arm: Implement native code execution backendLiam
2023-11-25device_memory: Enable direct mapped addresses for nceGPUCode
2023-11-25settings: Add cpu backend settingGPUCode
2023-11-21config: Unify config handling under frontend_commont895
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 settingNarr the Reg
2023-10-12yuzu: Use new setting method for stop emulationFlorian
2023-09-23Query Cachge: Fully rework Vulkan's query cacheFernando Sahmkow
2023-08-29android: Expose interface for getting settings from native codeCharles Lombardo
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 functionlat9nq
2023-08-15settings: Add AspectRatio enum, split res scale functionlat9nq
2023-08-02Merge pull request #10839 from lat9nq/pgc-plusliamwhite
general: Reimplement per-game configurations
2023-07-25settings: Correct Linkage member impl locationlat9nq
2023-07-21common,qt-config: Remove usage of forward_listlat9nq
2023-07-21settings: Remove sorting from loglat9nq
Unecessary, and would run every time the settings are logged.
2023-07-21common: Move global configuration state modifiers back to settingslat9nq
2023-07-21settings: Cleanuplat9nq
Addresses review feedback Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-07-21settings: Require time zone setting value for stirnglat9nq
2023-07-21settings,uisettings: Remove leading underscorelat9nq
2023-07-21common,yuzu-qt: Avoid explicit instantiation on old clanglat9nq
Clang versions < 15 have compile issues with explicit instantiation. Disable it for these versions.
2023-07-21settings: Move IsConfiguringGlobal to settings_commonlat9nq
2023-07-21settings: Move some simple data to BasicSettinglat9nq
Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
2023-07-21(ui,)settings: Use explicit instantiationlat9nq
Reduces compile times a tad on clang.
2023-07-21settings: Report all contained settings valueslat9nq
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 enumslat9nq
2023-07-21configure_audio: Implement ui generationlat9nq
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 counterlat9nq
2023-07-21configure_system: Implement with for looplat9nq
2023-07-21settings: Add UiGeneral classlat9nq
2023-07-21settings: Recategorize a bitlat9nq
Will help with generating config UI later.
2023-07-21settings: Add a registry of settingslat9nq
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_seedlat9nq
core: Fix MSVC errors
2023-07-21settings: Pool SetGlobal functionslat9nq
2023-07-21settings,video_core: Consolidate ASTC decoding optionslat9nq
Just puts them all neatly into one place.
2023-07-10settings: Disable C++20 tzdb path on MinGWlat9nq
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 STLlat9nq
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 MSVClat9nq
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 includeslat9nq
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 zonelat9nq
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-13Merge pull request #10603 from lat9nq/tz-more-completebunnei
core,common: Implement missing time zone data/computations
2023-06-08nvnflinger: allow locking framerate during video playbackLiam