summaryrefslogtreecommitdiffstats
path: root/src/common/settings.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-18input_common/tas: Document the main classgerman771-7/+4
2021-09-18input_common/tas: Fallback to simple updateMonsterDruide11-4/+3
2021-09-18core: Hacky TAS syncing & load pausingMonsterDruide11-5/+4
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required. First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`. Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
2021-09-18settings: File selector & other settingsMonsterDruide11-0/+3
First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit. Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script.
2021-09-18input_common/tas: Base playback & recording systemMonsterDruide11-0/+7
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
2021-09-16remove-audio-stretching-settingMoonlacer1-1/+0
2021-09-10input_common: Enable steam controllers and 8 player supportgerman771-3/+3
2021-08-28Garbage Collection: enable as default, eliminate option.Fernando Sahmkow1-1/+0
2021-08-21settings: Amend language_index maximum setting rangeMorph1-1/+1
The maximum is now 17 with the addition of Brazilian Portuguese
2021-08-16configure_graphics: Add GPU nvdec decoding as an optionameerj1-1/+7
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>
2021-08-12configuration: add option to select network interfacespholz1-1/+2
This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
2021-08-11settings: Fix MSVC issueslat9nq1-7/+22
According to https://stackoverflow.com/questions/469508, we run into a MSVC bug (since VS 2005) when using diamond inheritance for RangedSetting. This explicitly implements those functions in RangedSetting. GetValue is implemented as just calling the inherited version. The explicit converson operator is reimplemented. I opted for this over ignoring the warning with a pragma since this specifies the inherited behavior, and I have now less faith in MSVC to pick the right one. In addition, we mark destructors as virtual to silence what I believe is a fair MSVC compilation error.
2021-07-31settings: Use std::clamp where possiblelat9nq1-39/+9
Addresses PR review Co-authored-by: PixelyIon <pixelyion@protonmail.com>
2021-07-31settings: Remove unnecessary std::move usageslat9nq1-12/+12
Addresses review feedback. Co-authored-by: Mai M. <mathew1800@gmail.com>
2021-07-30settings: Fix function virtualizationlat9nq1-12/+18
Fixes a theoretical scenario where a Setting is using the BasicSetting's GetValue function. In practice this probably only happens on yuzu-cmd, where there is no need for a Setting's additional features. Need to fix regardless.
2021-07-30settings: Implement setting rangeslat9nq1-18/+152
Clamps the setting's values against the specified minimum and maximum values.
2021-07-28renderer_vulkan: Add setting to log pipeline statisticsReinUsesLisp1-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.
2021-07-24general: Rename "Frame Limit" references to "Speed Limit"ameerj1-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.
2021-07-24config, nvflinger: Add FPS cap settingameerj1-0/+1
Allows finer tuning of the FPS limit.
2021-07-23general: Implement FullscreenMode enumerationlat9nq1-3/+8
Prevents us from using an unclear 0 or 1 to describe the fullscreen mode.
2021-07-23general: Add setting shader_backendlat9nq1-1/+7
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.
2021-07-23shader: Add shader loop safety check settingslat9nq1-0/+3
Also add a setting for enable Nsight Aftermath.
2021-07-17input_common: Fix mouse panning behaivourgerman771-1/+1
2021-07-10settings: Disable FPS unlimit setting between title launchesameerj1-1/+1
Some titles crash if the FPS limit is disabled when launching. This change ensures that titles launch with the limit in-place to avoid issues. In order to simplify the change, the UI toggle was removed as it will always be overridden at launch to be disabled. The setting can still be toggled during gameplay with the hotkey, and indicated by the fps label in the status bar.
2021-07-09configure_input: Use u8 for mouse sensitivityameerj1-1/+1
2021-07-09configure_graphics: Use u8 for bg_color valuesameerj1-3/+3
2021-07-09configure_audio: Use u8 for volume valueameerj1-1/+1
2021-07-08settings, arm_dynarmic, yuzu qt: Move CPU debugging optionlat9nq1-1/+1
Decouples the CPU debugging mode from the enumeration to its own boolean. After this, it moves the CPU Debugging tab over to a sub tab underneath the Debug tab in the configuration UI.
2021-07-08settings, yuzu qt: Add migration code for CPU accuracylat9nq1-0/+2
Old CPU Accuracy setting won't translate well into since we're adding one at the beginning of the list. On first boot with the new setting, just use the default setting.
2021-07-08core,common,yuzu qt: Add CPU accuracy option 'Auto'lat9nq1-4/+5
The current CPU accuracy settings in yuzu are fairly polarized and require more than common knowledge to know what the optimal settings for yuzu would be. This adds a curated option called 'Auto' that applies a few at the moment known-good unsafe optimizations to Dynarmic.
2021-07-08general: Code formatting improvementslat9nq1-2/+1
Slight improvements to readability. Dropped suggestions for string_view (settings.h:101), pass by value (settings.h:82), reverting double to a float (config.cpp:316), and other smaller ones, some out of scope. Addresses review feedback. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-07-01settings: Set resolution_factor default to 1lat9nq1-1/+1
Fixes Disgaea 6 Demo issues.
2021-06-28general: Make most settings a BasicSettinglat9nq1-119/+287
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.
2021-06-26common: Force defaults for Settings::Setting'slat9nq1-44/+57
Requires a default value when creating each per-game setting.
2021-06-20Update dynarmic and add new unsafe CPU option.Fernando Sahmkow1-0/+1
2021-06-17nvflinger: Add toggle to disable buffer swap interval limitsameerj1-0/+1
Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue.
2021-06-16Reaper: Setup settings and final tuning.Fernando Sahmkow1-0/+1
2021-06-16fsp_srv: Fix filesystem access loggingMorph1-0/+1
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.
2021-06-16configure_graphics: Add Accelerate ASTC decoding settingameerj1-0/+1
2021-06-11General: Add settings for fastmem and disabling adress space check.FernandoS271-0/+4
2021-05-17general: Demote custom_rtc to regular settinglat9nq1-1/+1
2021-05-16general: Make CPU accuracy and related a Settings::Settinglat9nq1-4/+4
Required to make CPU accuracy and unsafe settings available to use as a per-game setting.
2021-04-15common: Move settings to common from core.bunnei1-9/+5
- Removes a dependency on core and input_common from common.
2021-04-15core: settings: Add setting for debug assertions and disable by default.bunnei1-0/+1
- 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.
2021-04-06configure_graphics: Add Borderless Windowed fullscreen modeMorph1-0/+1
The borderless windowed fullscreen mode solves several issues with the presentation of the overlay dialogs and on-screen keyboard in exclusive fullscreen mode, and also has other benefits such as smoother gameplay, lower latency and a significant reduction in screen tearing. Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-03-30configuration: Add auto stub toggle that resets on bootameerj1-0/+1
Auto-stub is an experimental debugging feature that may cause unforseen bugs. This adds a toggle to only allow auto-stubbing unimplemented functions when explicitly enabled when yuzu is launched.
2021-02-08Add mouse panninggerman1-2/+3
2021-01-02dynarmic: Add Unsafe_InaccurateNaN optimizationMerryMage1-0/+1
2021-01-02general: Fix various spelling errorsMorph1-1/+1
2021-01-01typo fixTimotej Leginus1-1/+1
typo fix
2020-12-29core: settings: Untangle multicore from asynchronous GPU.bunnei1-3/+0
- Now that GPU is always threaded, we can support multicore with synchronous GPU.
2020-12-08Disable analog joystick from buttons by defaultgerman1-0/+2
2020-11-27core: Eliminate remaining usages of the global system instanceLioncash1-2/+6
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.
2020-11-26Add multiple udp server supportgerman1-3/+1
2020-11-16configure_input: Add per-player vibrationMorph1-0/+1
Allows for enabling and modifying vibration and vibration strength per player. Also adds a toggle for enabling/disabling accurate vibrations. Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-11-16settings: Remove global vibration strength modifierMorph1-1/+0
This will be replaced in favor of per-player vibration strength modifiers.
2020-11-16configure_input: Hook up the vibration percentage spinboxMorph1-0/+1
This allows setting the vibration strength percentage anywhere from 1% to 100%. Also hooks up the remaining motion button and checkbox in the Controller Applet.
2020-11-16settings: Preparation for per-game input settingsMorph1-11/+46
2020-11-06settings: Simplify initializer of resolution factorLioncash1-1/+1
This can use a braced initializer to accomplish the same thing with less code.
2020-11-04core/settings: Move configuring_global behind an APILioncash1-4/+7
Rather than have directly modified global state here, we can make it an implementation detail and have an interface that changes are queried through.
2020-10-27video_core: NVDEC Implementationameerj1-0/+1
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
2020-09-05configure_input: Hook up the motion button and checkboxMorph1-0/+1
This allows toggling motion on or off, and allows access to the motion configuration. Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
2020-08-29yuzu: Add motion and touch configurationFearlessTobi1-2/+10
2020-08-26Project Mjölnir: Part 1Morph1-333/+6
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-25logging/settings: Increase maximum log size to 100 MB and add extended logging optionM&M1-0/+1
The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session. This commit also fixes a few errors that are present in the general debug menu.
2020-08-16dynarmic: Add unsafe optimizationsMerryMage1-1/+5
2020-07-28configure_graphics: Remove Force 30 FPS modeMorph1-1/+0
The introduction of multicore rendered this setting non-functional as timing code was changed. This removes the setting entirely.
2020-07-17Rebase for per game settingsDavid Marcec1-0/+1
2020-07-14settings: Move settings sanitization to its own functionlat9nq1-0/+3
Creates a new function that can be expanded later to fix other settings that are known to cause emulation errors across executables.
2020-07-11configure_cpu: Show/Hide debugging optionsMerryMage1-0/+7
2020-07-11configuration: Add settings to enable/disable specific CPU optimizationsMerryMage1-1/+10
2020-07-10settings: Remove storage size optionsMorph1-29/+0
2020-07-10configuration: implement per-game configurations (#4098)lat9nq1-43/+81
* Switch game settings to use a pointer In order to add full per-game settings, we need to be able to tell yuzu to switch to using either the global or game configuration. Using a pointer makes it easier to switch. * configuration: add new UI without changing existing funcitonality The new UI also adds General, System, Graphics, Advanced Graphics, and Audio tabs, but as yet they do nothing. This commit keeps yuzu to the same functionality as originally branched. * configuration: Rename files These weren't included in the last commit. Now they are. * configuration: setup global configuration checkbox Global config checkbox now enables/disables the appropriate tabs in the game properties dialog. The use global configuration setting is now saved to the config, defaulting to true. This also addresses some changes requested in the PR. * configuration: swap to per-game config memory for properties dialog Does not set memory going in-game. Swaps to game values when opening the properties dialog, then swaps back when closing it. Uses a `memcpy` to swap. Also implements saving config files, limited to certain groups of configurations so as to not risk setting unsafe configurations. * configuration: change config interfaces to use config-specific pointers When a game is booted, we need to be able to open the configuration dialogs without changing the settings pointer in the game's emualtion. A new pointer specific to just the configuration dialogs can be used to separate changes to just those config dialogs without affecting the emulation. * configuration: boot a game using per-game settings Swaps values where needed to boot a game. * configuration: user correct config during emulation Creates a new pointer specifically for modifying the configuration while emulation is in progress. Both the regular configuration dialog and the game properties dialog now use the pointer Settings::config_values to focus edits to the correct struct. * settings: split Settings::values into two different structs By splitting the settings into two mutually exclusive structs, it becomes easier, as a developer, to determine how to use the Settings structs after per-game configurations is merged. Other benefits include only duplicating the required settings in memory. * settings: move use_docked_mode to Controls group `use_docked_mode` is set in the input settings and cannot be accessed from the system settings. Grouping it with system settings causes it to be saved with per-game settings, which may make transferring configs more difficult later on, especially since docked mode cannot be set from within the game properties dialog. * configuration: Fix the other yuzu executables and a regression In main.cpp, we have to get the title ID before the ROM is loaded, else the renderer will reflect only the global settings and now the user's game specific settings. * settings: use a template to duplicate memory for each setting Replaces the type of each variable in the Settings::Values struct with a new class that allows basic data reading and writing. The new struct Settings::Setting duplicates the data in memory and can manage global overrides per each setting. * configuration: correct add-ons config and swap settings when apropriate Any add-ons interaction happens directly through the global values struct. Swapping bewteen structs now also includes copying the necessary global configs that cannot be changed nor saved in per-game settings. General and System config menus now update based on whether it is viewing the global or per-game settings. * settings: restore old values struct No longer needed with the Settings::Setting class template. * configuration: implement hierarchical game properties dialog This sets the apropriate global or local data in each setting. * clang format * clang format take 2 can the docker container save this? * address comments and style issues * config: read and write settings with global awareness Adds new functions to read and write settings while keeping the global state in focus. Files now generated per-game are much smaller since often they only need address the global state. * settings: restore global state when necessary Upon closing a game or the game properties dialog, we need to restore all global settings to the original global state so that we can properly open the configuration dialog or boot a different game. * configuration: guard setting values incorrectly This disables setting values while a game is running if the setting is overwritten by a per game setting. * config: don't write local settings in the global config Simple guards to prevent writing the wrong settings in the wrong files. * configuration: add comments, assume less, and clang format No longer assumes that a disabled UI element means the global state is turned off, instead opting to directly answer that question. Still however assumes a game is running if it is in that state. * configuration: fix a logic error Should not be negated * restore settings' global state regardless of accept/cancel Fixes loading a properties dialog and causing the global config dialog to show local settings. * fix more logic errors Fixed the frame limit would set the global setting from the game properties dialog. Also strengthened the Settings::Setting member variables and simplified the logic in config reading (ReadSettingGlobal). * fix another logic error In my efforts to guard RestoreGlobalState, I accidentally negated the IsPowered condition. * configure_audio: set toggle_stretched_audio to tristate * fixed custom rtc and rng seed overwriting the global value * clang format * rebased * clang format take 4 * address my own review Basically revert unintended changes * settings: literal instead of casting "No need to cast, use 1U instead" Thanks, Morph! Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> * Revert "settings: literal instead of casting " This reverts commit 95e992a87c898f3e882ffdb415bb0ef9f80f613f. * main: fix status buttons reporting wrong settings after stop emulation * settings: Log UseDockedMode in the Controls group This should have happened when use_docked_mode was moved over to the controls group internally. This just reflects this in the log. * main: load settings if the file has a title id In other words, don't exit if the loader has trouble getting a title id. * use a zero * settings: initalize resolution factor with constructor instead of casting * Revert "settings: initalize resolution factor with constructor instead of casting" This reverts commit 54c35ecb46a29953842614620f9b7de1aa9d5dc8. * configure_graphics: guard device selector when Vulkan is global Prevents the user from editing the device selector if Vulkan is the global renderer backend. Also resets the vulkan_device variable when the users switches back-and-forth between global and Vulkan. * address reviewer concerns Changes function variables to const wherever they don't need to be changed. Sets Settings::Setting to final as it should not be inherited from. Sets ConfigurationShared::use_global_text to static. Co-Authored-By: VolcaEM <volcaem@users.noreply.github.com> * main: load per-game settings after LoadROM This prevents `Restart Emulation` from restoring the global settings *after* the per-game settings were applied. Thanks to BSoDGamingYT for finding this bug. * Revert "main: load per-game settings after LoadROM" This reverts commit 9d0d48c52d2dcf3bfb1806cc8fa7d5a271a8a804. * main: only restore global settings when necessary Loading the per-game settings cannot happen after the ROM is loaded, so we have to specify when to restore the global state. Again thanks to BSoD for finding the bug. * configuration_shared: address reviewer concerns except operator overrides Dropping operator override usage in next commit. Co-Authored-By: LC <lioncash@users.noreply.github.com> * settings: Drop operator overrides from Setting template Requires using GetValue and SetValue explicitly. Also reverts a change that broke title ID formatting in the game properties dialog. * complete rebase * configuration_shared: translate "Use global configuration" Uses ConfigurePerGame to do so, since its usage, at least as of now, corresponds with ConfigurationShared. * configure_per_game: address reviewer concern As far as I understand, it prevents the program from unnecessarily copying strings. Co-Authored-By: LC <lioncash@users.noreply.github.com> Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> Co-authored-by: VolcaEM <volcaem@users.noreply.github.com> Co-authored-by: LC <lioncash@users.noreply.github.com>
2020-06-26Add a "Mute Audio" hotkeyKewlan1-0/+3
2020-06-06yuzu/frontend: Remove internal resolution optionMorph1-1/+1
2020-05-30Implement macro JITDavid Marcec1-0/+1
2020-05-19yuzu: Add frontend settings for assembly shadersReinUsesLisp1-0/+1
Add settings for assembly shaders. Currently hidden to avoid users from accidentally enabled them.
2020-05-11core: settings: Add a setting for time zone.bunnei1-0/+4
2020-04-23GPU: Add Fast GPU Time Option.Fernando Sahmkow1-0/+1
2020-04-22Correct Linux Compile Error.Fernando Sahmkow1-7/+2
2020-04-22UI: Replasce accurate GPU option for GPU Accuracy LevelFernando Sahmkow1-1/+15
2020-04-20dynarmic: Add option to disable CPU JIT optimizationsMerryMage1-0/+1
2020-03-19set: implement GetRegionCodeDan1-0/+1
2020-03-17yuzu: Save sound output mode and set it to Stereo by defaultFearlessTobi1-0/+1
2020-02-28Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels.Morph1-0/+1
2020-02-26core: settings: Add setting to enable vsync, which is on by default.bunnei1-0/+1
2020-02-14Add following aspect ratios: 16:9, 21:9, Stretch to WindowMorph1-0/+1
Available as a drop down within the configure graphics tab.
2020-01-29settings: Add settings for graphics backendReinUsesLisp1-0/+9
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi1-0/+3
An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com>
2019-09-30settings: Add option to set BCAT backendZach Hilman1-0/+4
2019-09-21settings: Add options for managing gamecard emulationZach Hilman1-2/+3
2019-09-21settings: Add options for setting storage sizesZach Hilman1-0/+29
2019-09-10Add frametime logging for tracking performance over timefearlessTobi1-0/+1
Co-Authored-By: jroweboy <jroweboy@gmail.com>
2019-07-11yuzu: Remove setting for using UnicornLioncash1-1/+0
The JIT is mature enough that this setting can be removed, falling back to Unicorn only on unsupported architectures. Any missing features from Unicorn (of which there are extremely few), are mostly developer-oriented, which most users don't care about. Features should be coordinated with the JIT, not the interpreter, anyhow.
2019-07-04yuzu: Remove CPU Jit setting from the UIfearlessTobi1-1/+1
A normal user shouldn't change this, as it will slow down the emulation and can lead to bugs or crashes. The renaming is done in order to prevent users from leaving this on without a way to turn it off from the UI.
2019-06-29settings: Add config option for kiosk (quest) modeZach Hilman1-0/+1
2019-05-30rasterizer_opengl: Remove OpenGL core profileReinUsesLisp1-1/+0
2019-05-25settings: Add 'Reporting Services' config optionZach Hilman1-0/+1
Full enable/disable for all reports.
2019-04-20Allow picking a Compatibility Profile for OpenGL.Fernando Sahmkow1-0/+1
This option allows picking the compatibility profile since a lot of bugs are fixed in it. We devs will use this option to easierly debug current problems in our Core implementation.:wq
2019-04-09added a toggle to force 30fps modezarroboogs1-0/+1
2019-03-29core/yuzu: Remove enable_nfc settingfearlessTobi1-1/+0
This was initially added to prevent problems from stubbed/not implemented NFC services, but as we never encountered such and as it's only used in a deprecated function anyway, I guess we can just remove it to prevent more clutter of the settings.
2019-03-07settings: Add new graphics setting for use_asynchronous_gpu_emulation.bunnei1-0/+1
2019-02-07settings: Hide shader cache behind a settingReinUsesLisp1-0/+1
2019-01-22citra_qt: Log settings on launchzhupengfei1-0/+1
2019-01-08settings: Fix comment structureZach Hilman1-4/+5
2019-01-08settings: Use std::chrono::seconds instead of s64 for RTCZach Hilman1-3/+5
2019-01-08settings: Add custom RTC settingsZach Hilman1-0/+3
Stored as signed seconds since epoch.
2018-12-03settings: Store list of disabled add-ons per title IDZach Hilman1-0/+5
2018-11-20settings: Add option to dump ExeFS of games upon launchZach Hilman1-0/+1
When enabled, all exefs(es) will be copied to yuzu/dump/<title_id>/exefs.
2018-11-19hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman1-41/+3
2018-11-19settings: Add settings for multiple players and controllersZach Hilman1-3/+48
Uses the PlayerInput struct to represent all of the data that constitutes a player.
2018-11-19settings: Add Native type for keyboardZach Hilman1-0/+210
2018-11-19settings: Add Native type for mouse buttonsZach Hilman1-0/+27
2018-11-13svc: Use proper random entropy generation algorithmZach Hilman1-1/+1
2018-11-12settings: Add config option to set RNG seedZach Hilman1-0/+2
2018-11-06configure_system: Fix compiler warningFrederic Laing1-2/+2
2018-10-29settings: Add setting to control NSO dumpingZach Hilman1-0/+1
Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
2018-10-24profile_manager: Load user icons, names, and UUIDs from system saveZach Hilman1-2/+0
2018-10-24settings: Add users and current_user settings and remove usernameZach Hilman1-1/+3
2018-10-24Added Amiibo support (#1390)David1-0/+1
* Fixed conflict with nfp * Few fixups for nfc * Conflict 2 * Fixed AttachAvailabilityChangeEvent * Conflict 3 * Fixed byte padding * Refactored amiibo to not reside in "System" * Removed remaining references of nfc from system * used enum for Nfc GetStateOld * Added missing newline * Moved file operations to front end * Conflict 4 * Amiibos now use structs and added mutexes * Removed amiibo_path
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei1-1/+1
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-07settings: Add program_args string settingZach Hilman1-0/+1
2018-10-02Port web_service from CitrafearlessTobi1-0/+6
2018-09-09hid: Implement ReloadInputDevicesfearlessTobi1-0/+2
2018-09-08Add audio stretching supportfearlessTobi1-0/+1
2018-09-04settings: Save and load NAND/SD dirs from configZach Hilman1-0/+2
2018-08-21Port #3353 from CitrafearlessTobi1-1/+2
2018-08-03Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851)David1-0/+2
2018-08-01Remove files that are not usedZach Hilman1-0/+2
2018-08-01audio_core: Add configuration settings.bunnei1-0/+5
2018-06-27settings: Add a configuration for use_accurate_framebuffers.bunnei1-0/+1
2018-05-11core: Add a configuration setting for use_multi_core.bunnei1-0/+1
2018-05-07hid: Tweaks, Analog Sticks (#435)Max Thomas1-0/+4
* hid: Update mouse/keyboard state * hid: Working analog sticks * hid: Nits * hid: Nits * hid: Update mystery sections * hid: Tweaks
2018-03-27settings: Remove unused CpuCore class.bunnei1-5/+0
2018-03-27config: Use simplified checkbox (from Citra) for CPU JIT.bunnei1-1/+1
2018-03-27config: Rename is_docked to use_docked_mode to be consistent with other config bools.bunnei1-1/+1
2018-03-27config: Add setting for whether the system is docked or not.bunnei1-0/+3
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+2
2018-01-15settings: Fix button mappings array to have correct entries.bunnei1-2/+6
2018-01-15settings: Screenshot buttonshinyquagsire231-0/+2
2018-01-15settings: adjust button configs for Switch controllersshinyquagsire231-17/+50
2018-01-13Removing unused settings and yuzu rebrandingJames Rowe1-44/+0
2018-01-12configuration: Add cpu_core configuration optionMerryMage1-1/+6
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei1-5/+0
2017-09-19WebService: Verify username and token (#2930)B3n301-0/+1
* WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
2017-08-26settings: Add enable_telemetry, citra_username, and citra_token.bunnei1-0/+3
2017-08-25SidebySide Layout (#2859)ThaMighty901-2/+3
* added a SidebySide Layout * Reworked, so both screen have the same height and cleaned up screen translates. * added the option in the UI, hope this is the right way to do it. formated framebuffer_layout.cpp * delete the x64 files * deleted ui_configure_graphics.h * added Option for the Layout in the xml * got rid of SIDE_BY_SIDE_ASPECT_RATIO because it was useless. pulled translate into variables * changed shift variables to u32 and moved them in their respective branch. remove notr="true" for the Screen layout drop down * reworked intends :). changed function description for SideFrameLayout * some description reworking
2017-08-24HID: use TouchDevice for touch padwwylele1-0/+1
2017-08-11HID: use MotionDevice for Accelerometer and Gyroscopewwylele1-0/+1
2017-07-10settings: Add telemetry endpoint URL.bunnei1-0/+3
2017-03-01Input: remove unused stuff & clean upwwylele1-54/+0
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include
2017-03-01HID: use AnalogDevicewwylele1-0/+14
2017-03-01HID: use ButtonDevicewwylele1-0/+44
2017-02-23Add custom layout settings.SonofUgly1-1/+9
2017-01-26SDL: Select audio device (#2403)Kloen Lansfiel1-0/+1
* Initial Commit Added Device logic to Sinks Started on UI for selecting devices Removed redundant import * Audio Core: Complete Device Switching Complete the device switching implementation by allowing the output device to be loaded, changed and saved through the configurations menu. Worked with the Sink abstraction and tuned the "Device Selection" configuration so that the Device List is automatically populated when the Sink is changed. This hopefully addresses the concerns and recommendations mentioned in the comments of the PR. * Clean original implementation. * Refactor GetSinkDetails
2017-01-11CAM: implement basic camera functions with a blank camerawwylele1-0/+5
2017-01-07config: Add option for specifying screen resolution scale factor.bunnei1-1/+1
2016-12-07Config: auto-select region and languagewwylele1-0/+4
2016-12-06Implement Frame rate limiter (#2223)emmauss1-0/+1
* implement frame limiter * fixes
2016-11-27GPU: Remove the broken frame_skip option.Emmanuel Gil Peyrot1-1/+0
Fixes #1960.
2016-11-05Support additional screen layouts.James Rowe1-0/+11
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-1/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-21/+30
2016-09-15core: Add configuration option for CPU JIT.bunnei1-0/+1
2016-08-31configure_audio: User-configuratble option to enable/disable audio stretchingMerryMage1-0/+1
2016-08-30config: Add a setting for graphics V-Sync.bunnei1-0/+1
2016-05-24New3DS: Minor style cleanup to #1520.bunnei1-1/+1
2016-05-15implement circle pad modifierwwylele1-1/+5
2016-05-15Refactor input subsystemwwylele1-5/+13
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-1/+2
2016-04-30Audio: Add sink selection to configuration filesMerryMage1-0/+3
2016-04-21Config: Add scaled resolution optiontfarley1-0/+1
2016-04-20Implement CheckNew3DS and CheckNew3DSAppJamePeng1-0/+3
Append an item[is_new3ds] to config file[System] group Implement APT::SetNSStateField,it will update the unknown NS_state_field
2016-04-11CitraQt: Apply config at startupJannik Vogel1-0/+2
2015-10-04Implement gdbstubpolaris-1-0/+5
2015-09-20Implement gdbstubpolaris-1-0/+5
2015-09-16general: Silence some warnings when using clangLioncash1-4/+4
2015-08-16Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.bunnei1-0/+1
- Config: Add an option for selecting to use shader JIT or interpreter. - Qt: Add a menu option for enabling/disabling the shader JIT.
2015-07-28Move input values into an arrayJames Rowe1-23/+31
2015-05-30Remove gpu_refresh_rate configuration optionYuri Kunde Schlesner1-1/+0
Changing it makes emulation inherently inaccurate. It also had a wrong default value (30, whereas the real system has a refresh rate of 60 Hz) which, even if changed, would continue to be used unless people manually removed it from their config files.
2015-05-22INI hw/sw renderer toggletfarley1-0/+2
2015-04-04Allow the user to set the background clear color during emulationarchshift1-0/+5
The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
2015-02-22Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.Emmanuel Gil Peyrot1-0/+6
2015-02-08Services: Stub some functionspurpasmart961-0/+3
2015-02-01arm: Adios armemuLioncash1-1/+0
2014-12-29GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei1-0/+1
2014-12-21License changepurpasmart961-1/+1
2014-12-13Add configurable per-class log filteringYuri Kunde Schlesner1-1/+3
2014-11-03Add support for disabling log from settingsSean1-0/+2
2014-10-28Added `gpu_refresh_rate` config setting for the new interpreter speed hack.archshift1-0/+1
2014-10-28Use configuration files to enable or disable the new dyncom interpreter.archshift1-0/+5
2014-10-23Use config files to store whether SDMC is enabled or notarchshift1-0/+2
Before, it used to use whether the directory actually existed. As a result, .citra-emu/sdmc was never auto-created (something quite confusing to me until I read through the logs).
2014-10-08Added configuration file system.archshift1-0/+29
Uses QSettings on citra-qt, and inih on citra-cli.