Lioncash
66852a73e2
yuzu/configuration/config: Specify string conversions explicitly
Allows the configuration code to build successfully with implicit string
conversions disabled.
8 years ago
Lioncash
a6309ae255
yuzu/configuration/configure_web: Specify string conversions explicitly
Allows the web config code to compile with implicit string conversions
disabled. We can also deduplicate the calls to create the pixmap.
8 years ago
Lioncash
e587f53654
yuzu/configuration/configure_system: Specify string conversions explicitly
Allows the system config code to build successfully with implicit string
conversions disabled.
8 years ago
Lioncash
24f3048353
yuzu/configuration/configure_profile_manager: Mark UI string as translatable
This is a user-facing string, so it should be marked as translatable.
8 years ago
Lioncash
328de6dfe3
yuzu/configuration/configure_per_general: Specify string conversions explicitly
Allows the per-game configuration to be successfully built with implicit
string conversions disabled.
8 years ago
Lioncash
e9de531962
yuzu/configuration/configure_mouse_advanced: Clean up array accesses
Deduplicates array accesses and uses a named variable where appropriate.
8 years ago
Lioncash
43e8e5d385
yuzu/configuration/configure_mouse_advanced: Specify string conversions explicitly
Allows the advanced mouse configuration code to build with implicit
string conversions disabled.
8 years ago
Lioncash
947c81af03
yuzu/configuration/configure_input_player: Clean up array accesses
Rather than repeatedly index arrays that have quite a large array index,
we can just use a named variable instead.
8 years ago
Lioncash
2f4062551d
yuzu/configuration/configure_input_player: Specify string conversions explicitly
Allows the player input configuration code to compile with implicit
string conversions disabled.
8 years ago
Lioncash
1bea3a5ca2
yuzu/configuration/configure_input: Mark controller type names as translateable
These are user-facing strings, so they should be localizable.
8 years ago
Lioncash
5c55220ce5
yuzu/configuration/configure_general: Specify string conversions explicitly
Allows the general configuration code to successfully compile with
implicit string conversions disabled.
8 years ago
Lioncash
b9ae150964
yuzu/configuration/configure_gamelist: Specify string conversions explicitly
Allows the gamelist configuration code to compile with implicit string
conversions disabled.
8 years ago
Lioncash
ae29eaec01
yuzu/configuration/configure_audio: Store power on query into a variable
Avoids using the system accessor more than necessary, and ensures that
both dialog boxes see the same power on state.
8 years ago
Lioncash
1cd40afb05
yuzu/configuration/configure_audio: Tidy up function cast
We can just use qOverload here to tidy up the function cast.
8 years ago
Lioncash
10280072c2
yuzu/configuration/configure_audio: Specify string conversions explicitly
Allows the audio configuration code to build with implicit string
conversions disabled.
8 years ago
ReinUsesLisp
0496136657
qt/configure_graphics: Shadow options at runtime
Compatibility profile and the disk shader cache settings shouldn't
be changed at runtime. This aims to address that shadowing those
options.
8 years ago
Lioncash
63feb1abed
configure_dialog: Remove the Whats This? button from the dialog
8 years ago
Lioncash
300c33116d
configuration/config: Move config loading and saving to functions based off groups
Over time our config values have grown quite numerous in size.
Unfortunately it also makes the single functions we have for loading and
saving values more error prone.
For example, we were loading the core settings twice when they only
should have been loaded once. In another section, a variable was
shadowing another variable used to load settings from a completely
different section.
Finally, in one other case, there was an extraneous endGroup() call used
that didn't need to be done. This was essentially dead code and also a
bug waiting to happen.
This separates the section loading code into its own separate functions.
This keeps variables only visible to the code that actually needs it,
and makes it much easier to visually see the end of each individual
configuration group. It also makes it much easier to visually catch bugs
during code review.
While we're at it, this also uses QStringLiteral instead of raw string
literals, which both avoids constructing a lot of QString instances, but
also makes it much easier to disable implicit ASCII to QString and
vice-versa in the future via setting QT_NO_CAST_FROM_ASCII and
QT_NO_CAST_TO_ASCII as compilation flags.
8 years ago
Zach Hilman
ad5e497bff
profile_select: Port Service::Account::UUID to Common::UUID
8 years ago
Fernando Sahmkow
b437d4abd7
Allow picking a Compatibility Profile for OpenGL.
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
8 years ago
FreddyFunk
9ddb70acb2
ui_settings: Rename game directory variables
8 years ago
Lioncash
540b874cf3
configure_hotkeys: Pass the dialog as a parent to SequenceDialog()
Without passing in a parent, this can result in focus being stolen from
the dialog in certain cases.
Example:
On Windows, if the logging window is left open, the logging Window will
potentially get focus over the hotkey dialog itself, since it brings all
open windows for the application into view. By specifying a parent, we
only bring windows for the parent into view (of which there are none,
aside from the hotkey dialog).
8 years ago
Lioncash
0a2bf1dc80
configure_hotkeys: Avoid dialog memory leak within Configure()
Without a parent, this dialog won't have its memory freed when it
happens to get destroyed.
8 years ago
Lioncash
5fd51f501d
configure_hotkeys: Mark member variables as const where applicable in Configure()
8 years ago
Lioncash
a55ddfb175
configure_hotkeys: Make comparison check a little more self-documenting
This is checking if an index is valid or not and returning early if it
isn't.
8 years ago
Lioncash
4c08ff8b1c
configure_dialog: Amend constructor initializer list order
Avoids a -Wreorder compiler warning.
8 years ago
Lioncash
ccb03bcd2f
configure_hotkey: Remove unnecessary include
Avoids dumping all of the core settings machinery into whatever files
include this header. Nothing inside the header itself actually made use
of anything in settings.h anyways.
8 years ago
Lioncash
2ca7bacabb
configure_hotkey: Make IsUsedKey() a const member function
This doesn't actually modify instance state of the dialog, so this can
be made const.
8 years ago
zarroboogs
77bc4d1bd9
added a toggle to force 30fps mode
8 years ago
fearlessTobi
86a7ab36ba
core/yuzu: Remove enable_nfc setting
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.
8 years ago
Adityarup Laha
62287f8ee7
yuzu: Make hotkeys configurable via the GUI
* Adds a new Hotkeys tab in the Controls group.
* Double-click a Hotkey to rebind it.
8 years ago
zhupengfei
1f02afc376
citra_qt: Settings (configuration) rework
8 years ago
bunnei
300139799f
settings: Add new graphics setting for use_asynchronous_gpu_emulation.
8 years ago
ReinUsesLisp
1342998379
settings: Hide shader cache behind a setting
8 years ago
xperia64
029dc66786
Use QPixmap/QIcon for background color selection button
8 years ago
zhupengfei
c63f74ed1d
citra_qt: Log settings on launch
8 years ago
Lioncash
bf796fd5dd
yuzu/configuration/configure_input_player: Forward declare types where applicable
Allows removing the inclusion of the main input common header from the
UI config header.
8 years ago
Lioncash
f056cb73ac
yuzu/configuration/configure_touchscreen_advanced: Remove unnecessary header inclusions
8 years ago
Lioncash
3f2d25b44a
yuzu/configuration/configure_per_general: Remove unused header inclusions
8 years ago
Lioncash
eeb04e75e2
yuzu/configuration/configure_debug: Remove unused header inclusions
8 years ago
Lioncash
f567ed92e5
yuzu/configuration/configure_system: Remove unused header inclusions
8 years ago
Lioncash
274f074ed5
yuzu/configuration/configure_web: Remove an unused lambda capture
'this' isn't actually used within the lambda, since what we need
from the class is already assigned within the capture section of
the lambda.
8 years ago
Lioncash
081c5a65d8
yuzu/configuration/configure_web: Use an ellipsis with 'Verifying' text
It's a common UI pattern to use an ellipsis to indicate an ongoing
action, rather than just specifying the word by itself.
8 years ago
Zach Hilman
d73f33373b
settings: Fix comment structure
8 years ago
Zach Hilman
63e948f483
settings: Use std::chrono::seconds instead of s64 for RTC
8 years ago
Zach Hilman
1f1c7f57a1
qt: Provide UI to edit custom RTC settings
8 years ago
Zach Hilman
ac7b60b61b
settings: Add custom RTC settings
Stored as signed seconds since epoch.
8 years ago
Zach Hilman
fe91364e29
qt: Move profile manager to own UI tab
8 years ago
Lioncash
7187d20b6a
yuzu/configure_general: Silence truncation warnings in loadConfiguration()
The QPixmap API expects an unsigned int.
8 years ago
Lioncash
8611e4d103
yuzu/config: Silence truncation warnings
8 years ago