Age | Commit message (Collapse) | Author |
|
yuzu/game_list_worker: Minor cleanup and code deduplication
|
|
check in callbacks
Avoids potentially allocating a std::string instance when it isn't
needed.
|
|
writable events
Two kernel object should absolutely never have the same handle ID type.
This can cause incorrect behavior when it comes to retrieving object
types from the handle table. In this case it allows converting a
WritableEvent into a ReadableEvent and vice-versa, which is undefined
behavior, since the object types are not the same.
This also corrects ClearEvent() to check both kernel types like the
kernel itself does.
|
|
yuzu/configuration: Minor clean-up related changes
|
|
filesystem: De-globalize registered_cache_union
|
|
kernel: Divide Event into ReadableEvent and WritableEvent
|
|
These slots are only ever attached to event handling mechanisms within
the class itself, they're never used externally. Because of this, we can
make the functions private.
This also removes redundant usages of the private access specifier.
|
|
classes
Resolves trivial compiler warnings.
|
|
The previous code could potentially be a compilation issue waiting to
occur, given we forward declare the type for a std::unique_ptr. If the
complete definition of the forward declared type isn't visible in a
translation unit that the class is used in, then it would fail to
compile.
Defaulting the destructor in a cpp file ensures the std::unique_ptr's
destructor is only invoked where its complete type is known.
|
|
video_core: Minor style changes
|
|
We can just return a new instance of this when it's requested. This only
ever holds pointers to the existing registed caches, so it's not a large
object. Plus, this also gets rid of the need to keep around a separate
member function just to properly clear out the union.
Gets rid of one of five globals in the filesystem code.
|
|
Avoids duplicating the same code twice verbatim.
|
|
We don't need to call out to our own file handling functions when we're
going to construct a QFileInfo instance right after it. We also don't
need to convert to a std::string again just to compare the file
extension.
|
|
|
|
|
|
|
|
|
|
Uncheck automatically joycons docked when docked mode is enable
|
|
|
|
file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()
|
|
instead of u8
Prevents compiler warnings related to truncation when invoking the
dialog. It's also extremely suspect to use a u8 value here instead of a
more general type to begin with.
|
|
This doesn't depend on any part of the private interface, so it can be
made a non-member internal function.
|
|
std::shared_ptr for InstallEntry()
These parameters don't need to utilize a shared lifecycle directly in
the interface. Instead, the caller should provide a regular reference
for the function to use. This also allows the type system to flag
attempts to pass nullptr and makes it more generic, since it can now be
used in contexts where a shared_ptr isn't being used (in other words, we
don't constrain the usage of the interface to a particular mode of
memory management).
|
|
std::bind is the pre-C++11 way of doing this.
|
|
Orders the elements the way they would actually be initialized in.
Resolves compiler warnings with gcc and clang
|
|
|
|
The common pattern is to put the data members after the function
interface where applicable.
|
|
|
|
Update OpenGL's backend version from 3.3 to 4.3
|
|
Report resolution scaling support for vi and am
|
|
patch_manager: Add support for applying LayeredFS patches to ExeFS
|
|
|
|
when docked mode is enable
|
|
|
|
|
|
The decision was made to name them LayeredExeFS instead of just LayeredFS to differentiate from normal RomFS-based mods. The name may be long/unweildy, but conveys the meaning well.
|
|
When enabled, all exefs(es) will be copied to yuzu/dump/<title_id>/exefs.
|
|
providing own differently named member functions
Uses Qt's built-in interface instead of rolling our own separate one on
top of it. This also fixes a bug in reject() where we were calling
accept() instead of reject().
|
|
applicable
std::function instances can potentially allocate. std::moveing them
prevents an avoidable allocation in that case.
|
|
These aren't required to be public.
|
|
am: Implement HLE software keyboard applet
|
|
|
|
|
|
|
|
|
|
|
|
Handles button configuration for all controller layouts and debug pads. Configurable at construction.
|
|
This allows adjusting the finger, diameter, and angle of the emulated touchscreen. It also provides a warning to the user about what changing these parameters can do.
|
|
Supports setting the five mouse buttons to any valid controller button/keyboard key (Left, Right, Middle, Foward, Back)
|
|
This moves the actual button configuration to a separate dialog and only has the enabled and type controls in the tab.
|