Age | Commit message (Collapse) | Author |
|
service/audren_u: Get rid of magic values within GetAudioRendererWorkBufferSize
|
|
video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer
|
|
service/set: Correct and simplify behavior related to copying language codes
|
|
GPU/MMEInterpreter: Ignore the 'exit' flag when it's executed inside a delay slot.
|
|
yuzu: Remove explicit types from locks where applicable
|
|
maxwell_3d: reduce severity of different component formats assert.
|
|
video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for Regs
|
|
video_core/engines/maxwell_3d: Simplify for loops into ranged for loops within InitializeRegisterDefaults()
|
|
service/am: Add missing return in error case for IStorageAccessor's Read/Write()
|
|
gl_rasterizer: Pass the right number of array quad vertices count
|
|
gl_rasterizer: Limit OpenGL point size to a minimum of 1
|
|
video_core/engines/engine_upload: Minor tidying
|
|
maxwell_to_gl: Add TriangleFan primitive topology
|
|
ipc_helpers: Amend floating-point type in Pop<double> specialization
|
|
yuzu/debugger: Specify string conversions explicitly
|
|
core/kernel/object: Rename ResetType enum members for clarity
|
|
kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally linked
|
|
yuzu/applets/profile_select: Mark header string as translatable
|
|
gl_shader_gen: std::move objects where applicable
|
|
yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
|
|
This has been left unused since the removal of the vestigial surface
viewer. Given it has no uses left, this can be removed as well.
|
|
Avoids performing copies into the pair being returned. Instead, we can
just move the resources into the pair, avoiding the need to make copies
of both the std::string and ShaderEntries struct.
|
|
This is a user-facing string, so it should be marked as translatable.
|
|
explicitly
Allows the graphics breakpoints to compile with implicit string
conversions disabled.
|
|
This allows the microprofile widget to compile with implicit string
conversions disabled.
|
|
Allows compiling the wait tree widget with implicit string conversions
disabled.
|
|
Currently, this overload isn't used, so this wasn't actually hit in any
code, only the float overload is used.
|
|
linked
These are only used from within this translation unit, so they don't
need to have external linkage. They were intended to be marked with this
anyways to be consistent with the other service functions.
|
|
Read()/Write().
Previously this would fall through and return successfully, despite
being an out of bounds read or write.
|
|
Renames the members to more accurately indicate what they signify.
"OneShot" and "Sticky" are kind of ambiguous identifiers for the reset
types, and can be kind of misleading. Automatic and Manual communicate
the kind of reset type in a clearer manner. Either the event is
automatically reset, or it isn't and must be manually cleared.
The "OneShot" and "Sticky" terminology is just a hold-over from Citra
where the kernel had a third type of event reset type known as "Pulse".
Given the Switch kernel only has two forms of event reset types, we
don't need to keep the old terminology around anymore.
|
|
|
|
|
|
|
|
yuzu/{about_dialog, main}: Specify string conversions explicitly for SCM-related info
|
|
yuzu_cmd: Make OpenGL's context current
|
|
yuzu_cmd: Use OpenGL compat when asked in the settings
|
|
Compatibility profile and the disk shader cache settings shouldn't
be changed at runtime. This aims to address that shadowing those
options.
|
|
|
|
The SDL2 frontend never bound the OpenGL context, resulting on a white
screen and no-ops all over the backend.
|
|
Nvidia's proprietary driver creates a real OpenGL compatibility profile
without this option, meanwhile Intel (and probably AMD, I haven't tested
it) require that QSurfaceFormat::FormatOption::DeprecatedFunctions is
explicitly enabled.
|
|
This was reduced due to happening on most games and at such constant
rate that it affected performance heavily for the end user. In general,
we are well aware of the assert and an implementation is already
planned.
|
|
Silences a -Wreorder warning.
|
|
Avoids inlining destruction logic where applicable, and also makes
forward declarations not cause unexpected compilation errors depending
on where the State class is used.
|
|
function declarations
These only apply in the definition of the function. They can be omitted
from the declaration.
|
|
|
|
We can use the named constant instead of using 32 directly.
|
|
within InitializeRegisterDefaults()
Lessens the amount of code that needs to be read, and gets rid of the
need to introduce an indexing variable. Instead, we just operate on the
objects directly.
|
|
std::memset is used to clear the entire register structure, which
requires that the Regs struct be trivially copyable (otherwise undefined
behavior is invoked). This prevents the case where a non-trivial type is
potentially added to the struct.
|
|
With C++17's deduction guides, the type doesn't need to be explicitly
specified within locking primitives anymore.
|
|
CommandDataContainer
std::move within a copy constructor (on a data member that isn't
mutable) will always result in a copy. Because of that, the behavior of
this copy constructor is identical to the one that would be generated
automatically by the compiler, so we can remove it.
|