Tree:
57d89e291d
3096/hle/bufferc
3096/qcom/clamp
3096/spirv/warp
3096/vk/drain_pending_build
3096/vk/pipeline_compilation
Kernel
android6
atomicops-mxwell
bcn-ternary-soft
civa
descriptor
descriptor_pool_opt
descriptor_set
disable-vap
discfix
display-modified-settings-first
dmnt2
dynarm7345
dynarmic-coproc
dynarmic-ppc64
eden-orbis-ps4
eds-true-adreno-fixes
ffmpeg-cross-compile
fix-fsr-crash-linux-waw
fix/discord-rpc
flatopsfixes23485
freebsd-cubeb
fs_external_dlcupdates
install-vulkan-ps1-fix-windows-on-arm
interval-zero
lanobu
liz-crash-dumps-solaris
liz-dynarmic-backport-waitpkg
liz-dynarmic-macos-fbsd-port
liz-get-rid-of-mcl-intrusive-list
liz-heaptrack-fix
liz-no-rtti-allowance
lock-term-1
macos-sqbuild
macroify-surface-stuffs
master
memsetopsyscallavoid
mmap-fixews
mutliplayer-filter-better1
n64
nce-strx
nce_cpp
netgate1
netusejthreadstuff
no-d24
pagetable-clustering
pintocputhing
pipelinederivative
qcom-weird-vk-ftz
quick-fix
refactoreds2
release/0.0.3
release/0.0.4
release/0.1.0
rem-dup-applet-launch
remove-unused-fastmem-fallback
reorder-menu-game-per-config
revert-1240cd43d70a502508115c9abb12f7ef27e1ca4e
revert-2695
revert-4758e126b863da560bf30a00deda3bb44e26b7fa
revert-7eb5710f353798b05b8860187e2728f7795717a0
revert-eed703bc81214a47a5fc7bd3abf22152cbd5c40b
scmfix-worktree
selfhost0
shaderwipe15
showcase
showcase2
simp-word-man1
sjkdbsdfjkbsdf-2834
smartqueryreset
static-linux
stuffmadeforfun
sured-revert
techno48473719
test-revert-gpu-optim
test2
true-eds
true-eds-graphics
true-eds-pre-0.0.1
vk-fix-oom-force-maller-buffers
vk-surface-andpc
vulkan-thingy
woa-turnip-expr
worekrs467584
xbzk-mci-bare-minimum-boot-fix
xbzk-saf-recursive-write-with-permission-request
0.0.0
0.0.1-pre-alpha
0.0.2-pre-alpha
test-tag1
test-tag2
v0.0.3
v0.0.3-rc1
v0.0.3-rc2
v0.0.3-rc3
v0.0.3.git
v0.0.4
v0.0.4-rc1
v0.0.4-rc2
v0.0.4-rc2.test
v0.0.4-rc2.test2
v0.0.4-rc3
v0.0.4-rc3.test1
v0.0.4-rc3.test2
v0.0.4.test
v0.1.0-rc1
${ noResults }
3 Commits (57d89e291de0eacfd368784309a0cbf89d38dcc8)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
57d89e291d |
input_profiles: Implement input profiles
|
5 years ago |
|
|
7aae6d6d2b |
core/settings: Move configuring_global behind an API
Rather than have directly modified global state here, we can make it an implementation detail and have an interface that changes are queried through. |
5 years ago |
|
|
63d23835ef
|
configuration: implement per-game configurations (#4098)
* 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 |
6 years ago |