aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_system.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [meta] clang-format literally all of the Qt code (#3706)crueter2026-03-101-3/+4
| | | | | | | | I'm tired of dealing with this tbh Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [qt_common] reorg + checkstate abstraction (#2735)crueter2025-10-151-2/+6
| | | | | | | | no diff. in functionality, just confirm builds on ubuntu 24.04/debian 12 Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2735
* Rework time service to fix time passing offline.Kelebek12024-01-241-4/+53
|
* Fix more typosViktor Szépe2024-01-151-1/+1
|
* config: Unify config handling under frontend_commont8952023-11-211-1/+0
| | | | | | 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.
* config(qt): Sanitize docked handheld controllerlat9nq2023-08-221-0/+5
|
* qt/configuration: Use deleteLaterlat9nq2023-07-211-2/+2
|
* common,qt-config: Remove usage of forward_listlat9nq2023-07-211-6/+6
|
* configure_system: Use lambda template to group settingslat9nq2023-07-211-1/+1
|
* common,configure_system: Rename method to GetCategorylat9nq2023-07-211-1/+1
| | | | Fixes essentially a shadowing issue.
* settings,configuration: Add a default suffixlat9nq2023-07-211-10/+1
|
* configuration: Use paired settingslat9nq2023-07-211-12/+2
|
* shared_widget: Internalize component restoringlat9nq2023-07-211-27/+1
|
* configuration: Use specialization of settingslat9nq2023-07-211-4/+3
| | | | Reduces some ugliness in frontend code.
* configuration: Use a builder to create widgetslat9nq2023-07-211-26/+17
| | | | | This gets rid of some repeated code and sets us up to send more information to the new widget.
* configuration: Move speed_limit to corelat9nq2023-07-211-0/+6
|
* common,yuzu-qt: GCC warning silenceslat9nq2023-07-211-3/+3
| | | | Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
* configuration: Use shorter constructor as neededlat9nq2023-07-211-4/+3
| | | | | Reduces some confusion hopefully, since some parameters specified were not specific to the setting in question.
* FIXME configuration: Avoid unnecessary allocationslat9nq2023-07-211-0/+4
| | | | | ConfigurationShared::Widget needs to be created with a builder. This would avoid some duplicated code.
* configuration: Document odd widget caseslat9nq2023-07-211-1/+8
| | | | | Explain why we need to do things differently at times, to serve as a reference.
* configuration: Use IDs to sort holdslat9nq2023-07-211-8/+5
|
* configure_system: Hide locale warn at startlat9nq2023-07-211-1/+4
|
* configuration: Clean up includes a bitlat9nq2023-07-211-0/+2
|
* configuration: Use a mapping of setting value to namelat9nq2023-07-211-7/+7
| | | | | Makes comboboxes always correspond to the value of the setting they're modifying.
* shared_widget: Refactor helperslat9nq2023-07-211-12/+11
| | | | Makes checkbox creation an option as opposed to a label.
* configure_system: Implement with for looplat9nq2023-07-211-136/+96
|
* configuration: Add base class to tabslat9nq2023-07-211-2/+4
| | | | | Tabs that largely configure SwitchableSetting's are now Tabs and grouped together.
* settings,core,config_sys: Remove optional type from custom_rtc, rng_seedlat9nq2023-07-211-20/+20
| | | | core: Fix MSVC errors
* configure_system: Remove external offset on custom rtclat9nq2023-06-051-2/+1
|
* settings: rename extended memory layout to unsafe, move from general to systemLiam2023-04-301-0/+10
|
* yuzu: Move audio settings to audio sectiongerman772023-03-111-8/+0
|
* yuzu: Remove console id settinggerman772023-03-111-22/+0
|
* yuzu: Fix language comobox crashgerman772023-01-221-2/+8
|
* settings: comment language blocklist columnsColin Kinloch2022-12-301-7/+13
|
* settings: added regon/language warning bounds checkColin Kinloch2022-12-291-1/+1
|
* settings: warn on invalid regon/language combinationsColin Kinloch2022-12-281-0/+30
|
* Set: Allow setting device nicknameChloe Marcec2022-12-131-0/+4
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to b2eb10382941bef0914f4a0a4685b9033440aa9f
* Update some files with Qt 5.15.2 best practices in mindKyle K2022-05-291-4/+2
| | | | | | | | | | | | | | | | | | | | | There was some discussion about updating to Qt6 and I figured I would work on some smaller parts. For Windows platform the WinMain function has moved from the Qt5::WinMain to a new one called Qt6::EntryPointPrivate Also Qt5 supports versionless CMake targets https://www.qt.io/blog/versionless-cmake-targets-qt-5.15 These other changes in this commit are to support Qt6, but in ways that don't mess with Qt5. src/yuzu/bootmanager.cpp: Qt6 complains about not being able to know to use QPoint or QPointF, picking QPoint src/yuzu/bootmanager.h: Qt6 prefers that QStringList.h be included rather than an empty class definition src/yuzu/configuration/configure_system.cpp: toULongLong intends to return unsigned 64 bit integer, but Settings::values.rng_seed is only 32 bits wide src/yuzu/game_list.cpp: Qt6 returns a different datatype for QStringList.length than Qt5, it used to be int, but in Qt6 its now qsizetype src/yuzu/loading_screen.cpp: Qt5's for QStyleOption.init say to switch to initFrom. The QStyleOption.init doesn't exist in Qt6 src/yuzu/main.cpp: Another QPointer and QStringList.size, lets standardize on size()
* yuzu: Reduce unused includesameerj2022-03-201-2/+0
|
* settings: Remove std::chrono usageameerj2021-10-171-6/+4
| | | | Alleviates the dependency on chrono for all files that include settings.h
* configuration: Use std::make_unique instead of operator new for uiMorph2021-10-151-1/+1
|
* Merge pull request #6774 from lat9nq/remove-global-yuzuMorph2021-10-141-6/+3
|\ | | | | yuzu qt: Remove global system instances
| * yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq2021-10-071-6/+3
| |
* | service: Reduce header include overheadMorph2021-10-071-1/+1
|/
* common: fs: Rework the Common Filesystem interface to make use of ↵Morph2021-05-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | std::filesystem (#6270) * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
* general: Demote custom_rtc to regular settinglat9nq2021-05-171-35/+11
|
* configuration: Add CPU tab to game propertieslat9nq2021-05-161-2/+1
| | | | | | Allows setting CPU accuracy to Accurate or Unsafe per-game, as well as the accuracy options for Unsafe. Debug is not allowed here as a per-game CPU accuracy.
* configuration: Simplify applying per-game settingslat9nq2021-05-151-20/+7
| | | | | | | | | | Originally, every time we add a per-game setting, we'd have to guard for it when setting it on the global config, and use a specific function to do it for the per-game config. This moves the global check into the ApplyPerGameSetting function so that we can use it for changing both the global and per-game states. Less work for the programmer.
* common: Move settings to common from core.bunnei2021-04-141-2/+2
| | | | - Removes a dependency on core and input_common from common.