| Age | Commit message (Collapse) | Author |
|
|
|
yuzu/{profile_select, software_keyboard}: Tidy up interface
|
|
qt: Silence name collision warnings
|
|
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
|
|
game_list_worker: Use QFile over our own IOFile instance or std streams for the game list cache
|
|
|
|
yuzu/bootmanager: Minor interface tidying
|
|
yuzu: Remove unused birthday setting
|
|
We can make this message more meaningful by indicating the location the
screenshot has been saved to. We can also log out whenever a screenshot
could not be saved (e.g. due to filesystem permissions or some other
reason).
|
|
Treating it as a u16 can result in a sign-conversion warning when
performing arithmetic with it, as u16 promotes to an int when aritmetic
is performed on it, not unsigned int.
This also makes the interface more uniform, as the layout interface now
operates on u32 across the board.
|
|
This class contains non-trivial members, so we should default the
destructor's definition within the cpp file.
|
|
Same thing (for platforms we support), less reading.
|
|
This function is defined as taking an int, not a bool.
|
|
We can just pass a pointer to GMainWindow directly and make it a
requirement of the interface. This makes the interface a little safer,
since this would technically otherwise allow any random QWidget to be
the parent of a render window, downcasting it to GMainWindow (which is
undefined behavior).
|
|
We can just invoke these functions by qualifying the object name before
the function.
|
|
Stays consistent in our code with using Qt's provided mechanisms, and
also properly handles Unicode paths (which file streams on Windows don't
do very well).
|
|
This is equivalent to specifying two separate functions, so we can just
do that.
|
|
mii: Implement MiiManager backend and several mii service commands
|
|
yuzu: Implement a caching mechanism for the game list
|
|
|
|
|
|
|
|
Fixes #2522.
|
|
yuzu_cmd: Split emu_window OpenGL implementation into its own file
|
|
Like with the profile selection dialog, we can just use the result of
QDialog's exec() function to determine whether or not a dialog was
accepted.
|
|
This behavior is already provided by the built-in exec() function. We
just need to check the return value of it.
|
|
Qt uses a signed value to represent indices. We should follow this
convention where applicable to avoid unnecessary sign-conversion
warnings, as well as making it easier to interoperate with other aspects
of Qt.
While we're at it, we can also make a sign-conversion explicit.
|
|
This is a hold-over from Citra and doesn't apply to yuzu.
|
|
|
|
|
|
Preserves list of add ons and the icon, which are the two costliest parts of game list population.
|
|
|
|
Also cleanup of general stuff
|
|
There's no performance improvement in passing an unsigned pair by
reference.
|
|
Reports are unnecessary for normal users and this is to prevent 'power' users from enabling the feature by accident.
|
|
Full enable/disable for all reports.
|
|
Nothing from the hotkeys dialog relies on this call occurring, and is
already called from the dialog that calls applyConfiguration().
|
|
Avoids mentioning the user and formalizes the error itself.
|
|
critical() is intended for critical/fatal errors that threaten the
overall stability of an application. A user entering a conflicting key
sequence is neither of those.
|
|
We don't need to extract the entire set of hotkeys into a list and then
iterate through it. We can traverse the list and early-exit if we're
able to.
|
|
1. This is something that should be solely emitted by the hotkey dialog
itself
2. This is functionally unused, given there's nothing listening for the
signal.
|
|
The previous code was all "smushed" together wasn't really grouped
together that well.
This spaces things out and separates them by relation to one another,
making it easier to visually parse the individual sections of code that
make up the constructor.
|
|
QDialogButtonBoxes are horizontal by default.
|
|
yuzu/main: Specify string conversions explicitly
|
|
gl_shader_cache: Use shared contexts to build shaders in parallel at boot
|
|
call
A checkbox is able to be tri-state, giving it three possible activity
types, so in the connect call here, it would actually be truncating an
int into a bool.
Instead, we can just listen on the toggled() signal, which passes along
a bool, not an int.
|
|
Now that all of our code is compilable with implicit QString
conversions, we can enforce it at compile-time by disabling them.
|
|
This isn't actually used anywhere, so it can be removed.
|
|
Given the std::optional can contain an object type that heap allocates,
we can use std::move to avoid an unnecessary copy/allocation from
occurring.
|
|
Qt uses a signed value to represent container sizes, so this was causing
a sign mismatch warning.
|