summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_system.cpp
AgeCommit message (Collapse)Author
2024-12-31chore: update project branding to citronZephyron
2024-01-24Rework time service to fix time passing offline.Kelebek1
2024-01-15Fix more typosViktor Szépe
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-08-22config(qt): Sanitize docked handheld controllerlat9nq
2023-07-21qt/configuration: Use deleteLaterlat9nq
2023-07-21common,qt-config: Remove usage of forward_listlat9nq
2023-07-21configure_system: Use lambda template to group settingslat9nq
2023-07-21common,configure_system: Rename method to GetCategorylat9nq
Fixes essentially a shadowing issue.
2023-07-21settings,configuration: Add a default suffixlat9nq
2023-07-21configuration: Use paired settingslat9nq
2023-07-21shared_widget: Internalize component restoringlat9nq
2023-07-21configuration: Use specialization of settingslat9nq
Reduces some ugliness in frontend code.
2023-07-21configuration: Use a builder to create widgetslat9nq
This gets rid of some repeated code and sets us up to send more information to the new widget.
2023-07-21configuration: Move speed_limit to corelat9nq
2023-07-21common,yuzu-qt: GCC warning silenceslat9nq
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
2023-07-21configuration: Use shorter constructor as neededlat9nq
Reduces some confusion hopefully, since some parameters specified were not specific to the setting in question.
2023-07-21FIXME configuration: Avoid unnecessary allocationslat9nq
ConfigurationShared::Widget needs to be created with a builder. This would avoid some duplicated code.
2023-07-21configuration: Document odd widget caseslat9nq
Explain why we need to do things differently at times, to serve as a reference.
2023-07-21configuration: Use IDs to sort holdslat9nq
2023-07-21configure_system: Hide locale warn at startlat9nq
2023-07-21configuration: Clean up includes a bitlat9nq
2023-07-21configuration: Use a mapping of setting value to namelat9nq
Makes comboboxes always correspond to the value of the setting they're modifying.
2023-07-21shared_widget: Refactor helperslat9nq
Makes checkbox creation an option as opposed to a label.
2023-07-21configure_system: Implement with for looplat9nq
2023-07-21configuration: Add base class to tabslat9nq
Tabs that largely configure SwitchableSetting's are now Tabs and grouped together.
2023-07-21settings,core,config_sys: Remove optional type from custom_rtc, rng_seedlat9nq
core: Fix MSVC errors
2023-06-05configure_system: Remove external offset on custom rtclat9nq
2023-04-30settings: rename extended memory layout to unsafe, move from general to systemLiam
2023-03-11yuzu: Move audio settings to audio sectiongerman77
2023-03-11yuzu: Remove console id settinggerman77
2023-01-22yuzu: Fix language comobox crashgerman77
2022-12-30settings: comment language blocklist columnsColin Kinloch
2022-12-29settings: added regon/language warning bounds checkColin Kinloch
2022-12-28settings: warn on invalid regon/language combinationsColin Kinloch
2022-12-13Set: Allow setting device nicknameChloe Marcec
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-05-29Update some files with Qt 5.15.2 best practices in mindKyle K
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()
2022-03-20yuzu: Reduce unused includesameerj
2021-10-17settings: Remove std::chrono usageameerj
Alleviates the dependency on chrono for all files that include settings.h
2021-10-15configuration: Use std::make_unique instead of operator new for uiMorph
2021-10-14Merge pull request #6774 from lat9nq/remove-global-yuzuMorph
yuzu qt: Remove global system instances
2021-10-07yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq
2021-10-07service: Reduce header include overheadMorph
2021-05-25common: fs: Rework the Common Filesystem interface to make use of ↵Morph
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
2021-05-17general: Demote custom_rtc to regular settinglat9nq
2021-05-16configuration: Add CPU tab to game propertieslat9nq
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.
2021-05-15configuration: Simplify applying per-game settingslat9nq
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.
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2020-11-27core: Eliminate remaining usages of the global system instanceLioncash
Removes all remaining usages of the global system instance. After this, migration can begin to migrate to being constructed and managed entirely by the various frontends.