Age | Commit message (Collapse) | Author |
|
And fix a bunch of warnings
|
|
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.
|
|
general,config-qt: Present Console Mode as an enum with separate options in game properties
|
|
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".
|
|
|
|
Allows some special interactions with it in the Qt frontend.
|
|
yuzu-qt: Add configuration for screenshot resolution
|
|
|
|
|
|
|
|
|
|
|
|
|
|
general: Reimplement per-game configurations
|
|
We are providing a conversion to nanoseconds in NativeClock, which is more precise than the GPU tick.
|
|
Fixes and workarounds to make UBSan happier on macOS
|
|
|
|
Causes a crash on MSVC from a race condition on application quit.
Intended to address yuzu-emu/yuzu/issues/11137
|
|
|
|
|
|
|
|
|
|
common: Use arithmetic instead of string ops to get time zone
|
|
Improve storage requirements.
|
|
Unecessary, and would run every time the settings are logged.
|
|
|
|
|
|
Fixes essentially a shadowing issue.
|
|
Addresses review feedback
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
|
Allows for 6GB and 8GB layouts to be selected.
|
|
|
|
|
|
|
|
Not sure how I missed this earlier, but these vectors can be constructed
using the type of the enum.
|
|
|
|
|
|
settings_common: Remove unused optional
|
|
Suggests to a frontend how to represent each setting.
|
|
Renames enum values to conform to naming convention.
|
|
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...
|
|
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.
|
|
|
|
|
|
Clang versions < 15 have compile issues with explicit instantiation.
Disable it for these versions.
|
|
|
|
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
|
|
Almost a 2 year old migration setting now
|
|
|
|
|
|
Reduces the need for the compiler to duplicate this code, by about
100KB executable size.
|