Lioncash
9bc18eada8
string_util: Remove ThousandSeparate()
This is currently unused and doesn't really provide much value to keep
around either.
7 years ago
Lioncash
454cf1dc09
hle/audren_u: Implement Get/SetRenderingTimeLimit
These appear to be a basic getter and setter pair, so these are fairly
trivial to implement and get out of the way.
7 years ago
Lioncash
81a39181b0
audio_core/audio_renderer: Fix typo in AuxInfo member name
7 years ago
Lioncash
004277477a
vm_manager: Unstub GetTotalHeapUsage()
Now that we've moved all of the heap-related stuff to the VMManager
class, we can unstub this function, as the necessary members are visible
now.
7 years ago
Lioncash
b8e885c6e5
kernel/process: Migrate heap-related memory management out of the process class and into the vm manager
Avoids a breach of responsibilities in the interface and keeps the
direct code for memory management within the VMManager class.
7 years ago
Zach Hilman
ab552e4a25
svc: Use proper random entropy generation algorithm
7 years ago
Hedges
af42320021
GDBStub improvements:
- Add FPU support
- Fix access to TLS
Fix clang-format.
7 years ago
fearlessTobi
9ea8eb6b2e
yuzu: Add hotkey for Amiibo loading
7 years ago
Frederic L
ab362aa7e5
gl_rasterizer: Minor cleanup
Minor code cleanup from unaddressed feedback in #1654
7 years ago
Lioncash
9a0fb7d9fb
gl_state: Amend compilation warnings
Makes float -> integral conversions explicit via casts and also silences
a sign conversion warning.
7 years ago
Zach Hilman
cb1e63ef09
svc: Return random seed for svcGetInfo RandomEntropy
7 years ago
greggameplayer
c8b3f09876
Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( #1666 )
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB
( needed by Mario+Rabbids Kingdom Battle )
* Small placement correction
7 years ago
Tobias
9333ee29ca
yuzu: Add a missing "!" to fix the stuck-in-fullscreen bug
7 years ago
Zach Hilman
2a16fd7ffc
settings: Add config option to set RNG seed
7 years ago
Zach Hilman
4b4f883aef
csrng: Use std::mt19937 engine for random number generation
7 years ago
Rodolfo Bogado
72b1fae984
Use core extensions when available to set max anisotropic filtering level
7 years ago
Rodolfo Bogado
4e6c64bf8d
Improve state management by splitting some of the states id separated function to avoid a full apply overhead
7 years ago
Rodolfo Bogado
4a6eff3b7b
Try to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors.
7 years ago
Rodolfo Bogado
e9610ec0dd
set sampler max lod, min lod, lod bias and max anisotropy
7 years ago
FernandoS27
3088e36237
Improved GPU Caches lookup Speed
7 years ago
David Marcec
48cd61d9c8
Added maybe_unused
7 years ago
David Marcec
ddc242dd51
Added ToPosixTime & ToPosixTimeWithMyRule
Added instead of using a seperate PR to prevent conflicts
7 years ago
ReinUsesLisp
8d4bb10d44
gl_shader_decompiler: Guard out of bound geometry shader input reads
Geometry shaders follow a pattern that results in out of bound reads.
This pattern is:
- VSETP to predicate
- Use that predicate to conditionally set a register a big number
- Use the register to access geometry shaders
At the time of writing this commit I don't know what's the intent of
this number. Some drivers argue about these out of bound reads. To avoid
this issue, input reads are guarded limiting reads to the highest
posible vertex input of the current topology (e.g. points to 1 and
triangles to 3).
7 years ago
David Marcec
84c6134264
Added consts and static
7 years ago
David Marcec
4f78f5c0df
Implement GetClockSnapshot
Needed by megaman 11
7 years ago
Frederic Laing
e2bf581e3a
gl_rasterizer_cache: Remove unnecessary memory allocation and copy in CopySurface
7 years ago
Frederic Laing
1d36aec267
gl_rasterizer: Fix compiler warnings
7 years ago
Lioncash
9046f764bf
rasterizer_cache: Remove reliance on the System singleton
Rather than have a transparent dependency, we can make it explicit in
the interface. This also gets rid of the need to put the core include in
a header.
7 years ago
Lioncash
9de523fd90
rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject
Ensures that destruction will always do the right thing in any context.
7 years ago
Lioncash
29f082775b
gl_resource_manager: Amend clang-format discrepancies
Fixes the buildbot.
7 years ago
David
581406af18
svcBreak now dumps information from the debug buffer passed ( #1646 )
* svcBreak now dumps information from the debug buffer passed
info1 and info2 seem to somtimes hold an address to a buffer, this is usually 4 bytes or the size of the int and contains an error code. There's other circumstances where it can be something different so we hexdump these to examine them at a later date.
* Addressed comments
7 years ago
FernandoS27
d347623d6f
Correct issue where texturelod could not be applied to 2darrayshadow
7 years ago
David Marcec
40db288a2a
Renamed CheckIfOperationChanged to OnDockedModeChanged
7 years ago
FernandoS27
ad2f47b579
Implement 3 coordinate array in TEXS instruction
7 years ago
David Marcec
a9c25ab9e4
Updated npad styles on holdtype switches
Fixes input for megaman
7 years ago
David Marcec
fd1ef25257
Fixups
7 years ago
David Marcec
41e99d8880
Ability to switch between docked and undocked mode in-game
Started implementation of the AM message queue mainly used in state getters. Added the ability to switch docked mode whilst in game without stopping emulation. Also removed some things which shouldn't be labelled as stubs as they're implemented correctly
7 years ago
David Marcec
ad45d68871
fixed spelling error
7 years ago
David Marcec
49cb4fa37b
Added missing log
7 years ago
David Marcec
92fcc6d15a
Implement acc:TrySelectUserWithoutInteraction
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
7 years ago
Markus Wick
359db6a673
gl_rasterizer: Skip VAO binding if the state is clean.
7 years ago
Markus Wick
0590dd2971
gl_rasterizer: Split VAO and VB setup functions.
7 years ago
Markus Wick
2c87f10267
gl_rasterizer_cache: Add profiles for Copy and Blit.
They were missed, and Copy is very high in profile here. It doesn't block the GPU,
but it stalls the driver thread. So with our bad GL instructions, this might block quite a while.
7 years ago
Markus Wick
7e59e907ef
gl_resource_manager: Profile creation and deletion.
7 years ago
Markus Wick
80e4dbdce7
gl_stream_buffer: Profile orphaning of stream buffer.
This serialize to the driver thread and so it may block for a while.
So if it is in the benchmark, we get noticed if it happens too often.
7 years ago
Markus Wick
2ba4d878e5
microprofile: Drop ReleaseActiveBuffer scope.
This was created with the unfinished resampling PR in mind.
As the resampling is now on the audio thread, we don't need to care about this here any more.
7 years ago
Frederic Laing
d34d0bfc87
configure_system: Fix compiler warning
7 years ago
Frederic Laing
6c8b788d32
yuzu/main: Fix compiler warning
7 years ago
Markus Wick
54df9fe29e
gl_resource_manager: Split implementations in .cpp file.
Those implementations are quite costly, so there is no need to inline them to the caller.
Ressource deletion is often a performance bug, so in this way, we support to add breakpoints to them.
7 years ago
Frederic Laing
ba2cdcdc5a
Implement SetMemoryPermission
7 years ago