summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/config.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* yuzu: settings: Remove framerate cap and merge unlocked framerate setting.Gravatar bunnei2022-07-161-2/+0
| | | | - These were all somewhat redundant.
* common/setting: Make ranged a property of the typeGravatar merry2022-07-151-2/+2
| | | | | - Avoids new GCC 12 warnings when Type is of form std::optional<T> - Makes more sense this way, because ranged is not a property which would change over time
* settings: Consolidate RangedSetting's with regular onesGravatar lat9nq2022-06-301-3/+3
| | | | | | | | | | | | The latest git version of GCC has issues with my diamond inheritance shenanigans. Since that's now two compilers that don't like it I thought it'd be best to just axe all of it and just have the two templates like before. This rolls the features of BasicRangedSetting into BasicSetting, and likewise RangedSetting into Setting. It also renames them from BasicSetting and Setting to Setting and SwitchableSetting respectively. Now longer name corresponds to more complex thing.
* core/debugger: support operation in yuzu-cmdGravatar Liam2022-06-101-0/+2
|
* Merge pull request #8048 from ameerj/include-purgeGravatar bunnei2022-03-211-1/+0
|\ | | | | general: Reduce unused includes across the project
| * yuzu_cmd: Reduce unused includesGravatar ameerj2022-03-201-1/+0
| |
* | yuzu_cmd: Allow user to specify config file locationGravatar lat9nq2022-03-151-4/+6
|/ | | | | | Adds an option `-c` or `--config` with one required argument that allows the user to specify to where the config file is located. Useful for scripts that run specific games with different preferences for settings.
* dynarmic: Inline exclusive memory accessesGravatar merry2022-02-271-0/+3
| | | | | | | | | | | | | | | Inlines implementation of exclusive instructions into JITted code, improving performance of applications relying heavily on these instructions. We also fastmem these instructions for additional speed, with support for appropriate recompilation on fastmem failure. An unsafe optimization to disable the intercore global_monitor is also provided, should one wish to rely solely on cmpxchg semantics for safety. See also: merryhime/dynarmic#664
* settings: Add a new "use_extended_memory_layout" setting.Gravatar bunnei2022-02-211-0/+1
| | | | - This will be used to enable emulation of a larger memory arrangement.
* config: Support motion inputsGravatar lat9nq2022-02-051-8/+28
| | | | | | | | | Motion inputs were not being read in by the config when yuzu-cmd boots up. This adds support for those. While we're at it, make a reference to the current player controls to improve readability. Also updates the if statements in the Analog and Button loops with curly braces to keep the style consistent.
* core/hid: Fully implement native mouseGravatar german772021-11-241-174/+0
|
* config: Cleanup and documentationGravatar german772021-11-241-3/+0
|
* core: Update input interpreterGravatar german772021-11-241-1/+0
|
* Frontend: Add anti-aliasing method settingGravatar Marshall Mohror2021-11-161-0/+1
|
* yuzu_cmd: Read resolution_setup and scaling_filter from configGravatar lat9nq2021-11-161-0/+2
| | | | Also adds descriptions and the settings to the default config.
* settings: Remove std::chrono usageGravatar ameerj2021-10-171-2/+1
| | | | Alleviates the dependency on chrono for all files that include settings.h
* config: Read network_interfaceGravatar lat9nq2021-10-151-0/+3
| | | Let's yuzu_cmd use a network interface. Also adds it to the default ini.
* settings: Remove BCAT settingsGravatar Morph2021-09-291-4/+0
|
* remove-audio-stretching-settingGravatar Moonlacer2021-09-151-1/+0
|
* Merge pull request #6846 from ameerj/nvdec-gpu-decodeGravatar Fernando S2021-09-111-1/+1
|\ | | | | nvdec: Add GPU video decoding for all capable drivers and platforms
| * configure_graphics: Add GPU nvdec decoding as an optionGravatar ameerj2021-08-161-1/+1
| | | | | | | | | | | | Some system configurations may see visual regressions or lower performance using GPU decoding compared to CPU decoding. This setting provides the option for users to specify their decoding preference. Co-Authored-By: yzct12345 <87620833+yzct12345@users.noreply.github.com>
* | Garbage Collection: enable as default, eliminate option.Gravatar Fernando Sahmkow2021-08-281-1/+0
|/
* config: Read connected setting for controllersGravatar lat9nq2021-08-041-0/+3
| | | | | | Currently yuzu will read the mapping but does not connect a controller despite adding subsequent configurations for it. Read the `connected` setting for now as a boolean like the Qt frontend.
* renderer_vulkan: Add setting to log pipeline statisticsGravatar ReinUsesLisp2021-07-271-0/+1
| | | | | | | | | | | | | | | | Use VK_KHR_pipeline_executable_properties when enabled and available to log statistics about the pipeline cache in a game. For example, this is on Turing GPUs when generating a pipeline cache from Super Smash Bros. Ultimate: Average pipeline statistics ========================================== Code size: 6433.167 Register count: 32.939 More advanced results could be presented, at the moment it's just an average of all 3D and compute pipelines.
* Merge pull request #6696 from ameerj/speed-limit-renameGravatar bunnei2021-07-261-2/+2
|\ | | | | general: Rename "Frame Limit" references to "Speed Limit"
| * general: Rename "Frame Limit" references to "Speed Limit"Gravatar ameerj2021-07-231-2/+2
| | | | | | | | | | This setting is best referred to as a speed limit, as it involves the limits of all timing based aspects of the emulator, not only framerate. This allows us to differentiate it from the fps unlocker setting.
* | Merge pull request #6697 from ameerj/fps-capGravatar bunnei2021-07-251-0/+1
|\ \ | | | | | | config, nvflinger: Add FPS cap setting
| * | config, nvflinger: Add FPS cap settingGravatar ameerj2021-07-231-0/+1
| |/ | | | | | | Allows finer tuning of the FPS limit.
* | general: Add setting shader_backendGravatar lat9nq2021-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLASM is getting good enough that we can move it out of advanced graphics settings. This removes the setting `use_assembly_shaders`, opting for a enum class `shader_backend`. This comes with the benefits that it is extensible for additional shader backends besides GLSL and GLASM, and this will work better with a QComboBox. Qt removes the related assembly shader setting from the Advanced Graphics section and places it as a new QComboBox in the API Settings group. This will replace the Vulkan device selector when OpenGL is selected. Additionally, mark all of the custom anisotropic filtering settings as "WILL BREAK THINGS", as that is the case with a select few games.
* | shader: Add shader loop safety check settingsGravatar lat9nq2021-07-221-0/+2
|/ | | | Also add a setting for enable Nsight Aftermath.
* yuzu_cmd: Make use of fullscreen_mode settingGravatar lat9nq2021-07-211-0/+1
| | | | | | | Reverts 48259de0c1a6a1aca77eec31cb8aca5ca2b680dd to the previous hierarchy and fixes the resolution issue with this fullscreen mode. yuzu-cmd will now read the fullscreen_mode setting and use it appropriately.
* yuzu_cmd: Add missing or update current settingsGravatar lat9nq2021-07-161-1/+23
| | | | | | | Many settings in common/settings.h are missing from yuzu-cmd, either they were added to default_ini.h but not read in, or vice versa, or the setting was altogether omitted from yuzu-cmd. Some defaults were reported wrong, so those were fixed where noticed.
* config: Remove float {Read,Write}Setting variantsGravatar ameerj2021-07-081-4/+2
|
* yuzu_cmd: config: Pass a reference inGravatar lat9nq2021-06-301-4/+4
| | | | | | | | Also adds documentation for the ReadSetting function. Address review comments. Co-authored-by: Mai M. <mathew1800@gmail.com>
* general: Make most settings a BasicSettingGravatar lat9nq2021-06-281-111/+85
| | | | | | | | | | | Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
* nvflinger: Add toggle to disable buffer swap interval limitsGravatar ameerj2021-06-171-0/+2
| | | | | Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue.
* Merge pull request #6464 from ameerj/disable-astcGravatar bunnei2021-06-161-2/+4
|\ | | | | textures: Add a toggle for GPU Accelerated ASTC decoder
| * yuzu_cmd/config: Add Accelerate ASTC and missing NVDEC emulation settingsGravatar ameerj2021-06-151-2/+4
| |
* | fsp_srv: Fix filesystem access loggingGravatar Morph2021-06-161-0/+2
|/ | | | | | | | This introduces a new setting Enable FS Access Log which saves the filesystem access log to sdmc:/FsAccessLog.txt If this setting is not enabled, this will indicate to FS to not call OutputAccessLogToSdCard. Fixes softlocks during loading in Xenoblade Chronicles 2 when certain DLC is enabled.
* yuzu-cmd: Add touch_from_button in config fileGravatar Clément Gallet2021-06-041-0/+37
|
* common: fs: Rework the Common Filesystem interface to make use of ↵Gravatar Morph2021-05-251-21/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 settingGravatar lat9nq2021-05-171-3/+3
|
* general: Ignore implicit-fallthrough for SDL.hGravatar lat9nq2021-04-181-0/+10
| | | | | | SDL 2.0.14 introduces an incompatibility with Clang, causing it to trigger -Wimplicit-fallthrough even though it is marked. Ignore it for now, with a comment mentioning why this is needed.
* common: Move settings to common from core.Gravatar bunnei2021-04-141-1/+1
| | | | - Removes a dependency on core and input_common from common.
* core: settings: Add setting for debug assertions and disable by default.Gravatar bunnei2021-04-141-0/+4
| | | | | | - This is a developer-only setting and no longer needs to be enabled by default. - Also adds "use_auto_stub" setting to SDL frontend while we are here. - Supersedes #1340.
* Fix default bcat_backend initGravatar Kelebek12021-03-021-1/+1
|
* Merge pull request #4298 from FearlessTobi/remove-cache-settingGravatar bunnei2021-02-151-3/+0
|\ | | | | yuzu/configure_filesystem: Remove "Select Cache Directory" option
| * yuzu/configure_filesystem: Remove "Select Cache Directory" optionGravatar FearlessTobi2021-01-041-3/+0
| | | | | | | | | | This tab of the settings is already extremely bloated and the setting itself is quite useless. With a gamelist of almost 30 games, the cache directory is smaller than 1MB for me and therefore I don't see why it needs to be configurable.
* | config: Make high GPU accuracy the defaultGravatar ReinUsesLisp2021-02-131-1/+1
| | | | | | | | | | This is a better default for most games, yielding better performance and less graphical issues.
* | Allow all touch inputs at the same time and remove config options that are ↵Gravatar german2021-01-151-4/+0
| | | | | | | | not longer necesary