aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings_setting.h
Commit message (Collapse)AuthorAgeFilesLines
* [*] Fix compilation on fmt 12.2.0 (#4107)crueter2026-06-191-4/+2
| | | | | | | Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4107 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [qt] fix various crashes due to invalid/corrupted/outdated settings (#4070)lizzie2026-06-141-3/+20
| | | | | | | | | | lots of "out of index" errors :) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4070 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [cmake, common] allow build with -fno-rtti and /GR-, to disable gen of rtti ↵lizzie2026-02-221-3/+9
| | | | | | | | | | | | and save some bytes in vtables (#359) Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/359 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [desktop] fix audio output engine not saving (#3083)crueter2025-11-251-5/+3
| | | | | | | | | | | | | | | | | | | | | | | This issue has like 15 different causes, and I'm surprised it took this long to pop up. 1. LoadString had a hack *specific* to the AudioEngine enum. Why? Solving this was easy, just use the explicit type ctor. -_- 2. The LoadString hack was abused in configure_audio.cpp to get around the canonicalization infrastructure that was explicitly put in to make this exact operation easier. Why? 3. ToString was also broken because of LoadString's garbage output. Technically it might work now, but it's better to just use the canonicalization infrastructure that was made specifically for this purpose. Also did a few tiny optimizations in config/settings cuz wynaut. Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3083 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [common] No need to specify min/max for settings; fix crash when OOB value ↵lizzie2025-09-291-36/+31
| | | | | | | | | | | | | | | is given for some settings (#2609) This fixes issues when migrating settings that refer to invalid filters/scales. For example if we had 5 filters, but we set filter=6, the program would crash. This also makes so specifying min/max manually isn't needed (but can still be set for cases like NCE). Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2609 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [meta] fix license headers (#2547)lizzie2025-09-211-0/+3
| | | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-091-3/+3
| | | | | | | | | | | | | | Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64. Compiling on clang is *dramatically* faster so this should be useful for CI. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: crueter <crueter@crueter.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* android: Refactor settings to expose more optionst8952023-12-121-1/+4
| | | | In AbstractSetting, this removes the category, androidDefault, and valueAsString properties as they are no longer needed and have replacements. isSwitchable, global, and getValueAsString are all exposed and give better options for working with global/per-game settings.
* settings_setting: Read audio enginelat9nq2023-09-251-0/+2
| | | | | This was mysteriously missing, likely from when I ported Citra fixes semi-recently.
* settings_setting: Don't remove the AudioEngine workaroundlat9nq2023-09-131-0/+3
|
* settings: Retro-port Citra Settings worklat9nq2023-09-131-8/+28
| | | | | This has yet to be PR'd on Citra, but regressions on yuzu that have been fixed in Citra needed to appear here.
* general: fix apple clang buildLiam2023-08-091-5/+5
|
* settings_setting: Fix typolat9nq2023-07-211-4/+4
|
* common,configure_system: Rename method to GetCategorylat9nq2023-07-211-2/+2
| | | | Fixes essentially a shadowing issue.
* settings: Cleanuplat9nq2023-07-211-30/+47
| | | | | | Addresses review feedback Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
* settings: Give indices to enumslat9nq2023-07-211-0/+9
|
* settings_setting: Silence shadowing warningslat9nq2023-07-211-17/+18
|
* settings,configuration: Add a default suffixlat9nq2023-07-211-9/+6
|
* settings: Define paired settingslat9nq2023-07-211-11/+18
| | | | settings_common: Remove unused optional
* settings: Define specializations for settingslat9nq2023-07-211-10/+17
| | | | Suggests to a frontend how to represent each setting.
* settings_setting: Fix MSVC errorlat9nq2023-07-211-1/+1
|
* common,yuzu-qt: GCC warning silenceslat9nq2023-07-211-6/+8
| | | | Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
* settings: Document BasicSetting, add Rangedlat9nq2023-07-211-0/+4
|
* settings: Move some simple data to BasicSettinglat9nq2023-07-211-75/+11
| | | | | Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
* settings_setting: Fix errorslat9nq2023-07-211-2/+3
| | | | | ToString didn't have a constexpr if statement where needed. Canonicalize missed an else, causing unreachable code error on MSVC.
* (ui,)settings: Use explicit instantiationlat9nq2023-07-211-0/+413
Reduces compile times a tad on clang.