Age | Commit message (Collapse) | Author |
|
We move the initialization of the renderer to the core class, while
keeping the creation of it and any other specifics in video_core. This
way we can ensure that the renderer is initialized and doesn't give
unfettered access to the renderer. This also makes dependencies on types
more explicit.
For example, the GPU class doesn't need to depend on the
existence of a renderer, it only needs to care about whether or not it
has a rasterizer, but since it was accessing the global variable, it was
also making the renderer a part of its dependency chain. By adjusting
the interface, we can get rid of this dependency.
|
|
video_core: Remove unimplemented Start() function prototype
|
|
memory: Remove unused GetSpecialHandlers() function
|
|
kernel/process: Use accessors instead of class members for referencing segment array
|
|
kernel/thread: Fix potential crashes introduced in 26de4bb5
|
|
26de4bb521b1ace7af76eff4f6956cb23ac0d58c
This amends cases where crashes can occur that were missed due to the
odd way the previous code was set up (using 3DS memory regions that
don't exist).
|
|
gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
|
|
|
|
segment array
Using member variables for referencing the segments array increases the
size of the class in memory for little benefit. The same behavior can be
achieved through the use of accessors that just return the relevant
segment.
|
|
This is just unused code, so we may as well get rid of it.
|
|
core/memory: Get rid of 3DS leftovers
|
|
Given this has no definition, we can just remove it entirely.
|
|
This variable was being incremented, but we were never actually using
it.
|
|
member function
This function doesn't modify class state, so it can be made const.
|
|
Removes leftover code from citra that isn't needed.
|
|
IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
|
|
sink_details: std::move std::function instances
|
|
service: Add migration services
|
|
math_util: Always initialize members of Rectangle
|
|
video_core: Make global EmuWindow instance part of the base renderer …
|
|
kernel: Move object class to its own source files
|
|
kernel/thread: Minor changes
|
|
input_common: minor changes
|
|
yuzu: Use Qt 5 signal/slots where applicable
|
|
kernel/vm_manager: Minor changes
|
|
vfs_vector: Minor changes
|
|
gl_shader_manager: Take ShaderSetup instances by const reference in UseProgrammableVertexShader() and UseProgrammableFragmentShader()
|
|
Makes the signal/slot connections type-safe instead of string-based.
|
|
Avoids unnecessary atomic reference count increments and decrements
|
|
|
|
hw: Remove unused files
|
|
gl_state: Make texture_units a std::array
|
|
service/ns: Add missing ns services
|
|
|
|
service: Add the psc services
|
|
|
|
Makes our immutable state explicit.
|
|
These two variables correspond to address ranges.
|
|
Avoids using a u32 to compare against a range of size_t, which can be a
source of warnings. While we're at it, compress a std::tie into a
structured binding.
|
|
reference
This function only reads the data being referenced, it doesn't modify
it, so we can turn the reference into a const reference.
|
|
This function isn't used outside of this translation unit, so we can
make it internally linked.
|
|
This wasn't being used for anything, so it can be removed.
|
|
The lambda elements should be taken by const reference here, and we can
move the virtual directory passed to ReplaceFileWithSubdirectory()
|
|
Gets rid of the use of a raw C array.
|
|
UseProgrammableVertexShader() and UseProgrammableFragmentShader()
Avoids performing unnecessary copies of 65560 byte sized ShaderSetup
instances, considering it's only used as part of lookup and not
modified.
Given the parameters were already const, it's likely taking these
parameters by reference was intended but the ampersand was forgotten.
|
|
Prevents potentially using the members uninitialized.
|
|
None of these files are used in any meaningful way. They're just
leftovers from citra. Also has the benefit of getting rid of an unused
global variable.
|
|
Adds the basic skeleton for the mig:usr service based off information
provided by Switch Brew.
|
|
This makes the Buffer::Tag usage consistent with the Stream class's
prototype of GetTagsAndReleaseBuffers().
|
|
We can just use type aliases to avoid needing to write the same long
type twice
|