summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin
And fix a bunch of warnings
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-26Merge pull request #11356 from lat9nq/console-mode-pgliamwhite
general,config-qt: Present Console Mode as an enum with separate options in game properties
2023-08-25Warnings cleanup for GCC 13 and Clang 16comex
Note: For GCC there are still a huge number of `-Warray-bounds` warnings coming from `externals/dynarmic`. I could have added a workaround in `externals/CMakeLists.txt` similar to what this PR does for other externals, but given Dynarmic's close affiliation with Yuzu, it would be better to fix it upstream. Besides that, on my machine, this makes the build warning-free except for some warnings from glslangValidator and AutoMoc. Details: - Disable some warnings in externals. - Disable `-Wnullability-completeness`, which is a Clang warning triggered by the Vulkan SDK where if any pointers in the header are marked _Nullable, it wants all pointers to be marked _Nullable or _Nonnull. Most of them are, but some aren't. Who knows why. - `src/web_service/verify_user_jwt.cpp`: Disable another warning when including `jwt.hpp`. - `src/input_common/input_poller.cpp`: Add missing `override` specifiers. - src/common/swap.h: Remove redundant `operator&`. In general, this file declares three overloads of each operator. Using `+` as an example, the overloads are: - a member function for `swapped_t + integer` - a member function for `swapped_t + swapped_t` - a free function for `integer + swapped_t` But for `operator&`, there was an additional free function for `swapped_t + integer`, which was redundant with the member function. This caused a GCC warning saying "ISO C++ says that these are ambiguous".
2023-08-22settings: Add docked mode helper functionlat9nq
2023-08-22general: Convert use_docked_mode to an enumerationlat9nq
Allows some special interactions with it in the Qt frontend.
2023-08-22Merge pull request #11303 from lat9nq/screenshots-configurableliamwhite
yuzu-qt: Add configuration for screenshot resolution
2023-08-16yuzu-qt: Screenshots depend more on the graphics settingslat9nq
2023-08-16yuzu-qt: Implement unspecified screenshot ratiolat9nq
2023-08-15settings: Add AspectRatio enum, split res scale functionlat9nq
2023-08-15fssystem: rework for yuzu styleLiam
2023-08-15vfs: expand support for NCA readingLiam
2023-08-09general: fix apple clang buildLiam
2023-08-02Merge pull request #10839 from lat9nq/pgc-plusliamwhite
general: Reimplement per-game configurations
2023-07-27wall_clock: Increase precision requirementsMorph
We are providing a conversion to nanoseconds in NativeClock, which is more precise than the GPU tick.
2023-07-26Merge pull request #10990 from comex/ubsanliamwhite
Fixes and workarounds to make UBSan happier on macOS
2023-07-25(ui)settings: Add more runtime_modifiable settingslat9nq
2023-07-25backend: Remove usage of explicit operator overloadlat9nq
Causes a crash on MSVC from a race condition on application quit. Intended to address yuzu-emu/yuzu/issues/11137
2023-07-25settings: Correct Linkage member impl locationlat9nq
2023-07-24settings: Set GPU as default ASTC decoderlat9nq
2023-07-23settings_common: Document specializationslat9nq
2023-07-21common,qt-config: Remove usage of forward_listlat9nq
2023-07-21Merge pull request #11069 from lat9nq/mingw-no-tzdbliamwhite
common: Use arithmetic instead of string ops to get time zone
2023-07-21settings_common: Use a vector in category linkagelat9nq
Improve storage requirements.
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_setting: Fix typolat9nq
2023-07-21common,configure_system: Rename method to GetCategorylat9nq
Fixes essentially a shadowing issue.
2023-07-21settings: Cleanuplat9nq
Addresses review feedback Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-07-21core,common: Give memory layout setting an enumlat9nq
Allows for 6GB and 8GB layouts to be selected.
2023-07-21settings: Require time zone setting value for stirnglat9nq
2023-07-21settings: Give indices to enumslat9nq
2023-07-21settings_common: Remove unncessary enum speclat9nq
2023-07-21settings_enums: Remove castinglat9nq
Not sure how I missed this earlier, but these vectors can be constructed using the type of the enum.
2023-07-21settings_setting: Silence shadowing warningslat9nq
2023-07-21settings,configuration: Add a default suffixlat9nq
2023-07-21settings: Define paired settingslat9nq
settings_common: Remove unused optional
2023-07-21settings: Define specializations for settingslat9nq
Suggests to a frontend how to represent each setting.
2023-07-21settings,translation: Fix time zone enumlat9nq
Renames enum values to conform to naming convention.
2023-07-21settings,opengl,yuzu-qt: Fix AA, Filter maximumslat9nq
The new enum macros don't support setting values directly. For LastAA and LastFilter, this means we need a simpler approach to loop around the toggle in the frontend...
2023-07-21settings_enums: More aggressively use macroslat9nq
This lets us define an enum and all the textual representations of its values in one swing. All for the price of some ugly macros.
2023-07-21settings,uisettings: Remove leading underscorelat9nq
2023-07-21settings: Move speed_limit to corelat9nq
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_setting: Fix MSVC errorlat9nq
2023-07-21common,yuzu-qt: GCC warning silenceslat9nq
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
2023-07-21settings: Delete cpu_accuracy_first_timelat9nq
Almost a 2 year old migration setting now
2023-07-21settings: Document BasicSetting, add Rangedlat9nq
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.