Frederic Laing
3844b5c0c5
gl_rasterizer_chache: Minor cleanup
7 years ago
Zach Hilman
c0a9abc3e1
ldr_ro: Implement UnloadNro (command 1)
Includes actual unmapping and address error checking.
7 years ago
Zach Hilman
056fa43dcd
ldr_ro: Fully Implement LoadNro (command 0)
Includes NRO and BSS error checking, maximum loaded NRO check, NRR hash check, and proper remapping of BSS data.
7 years ago
Zach Hilman
5e8e7b6019
ldr_ro: Implement UnloadNrr (command 3)
Includes initialization check, proper address check, alignment check, and actual unloading of a loaded NRR.
7 years ago
Zach Hilman
6cd504feb9
ldr_ro: Fully implement LoadNrr (command 2)
Includes parameter error checking, hash enforcement, initialization check, and max NRR load check.
7 years ago
Zach Hilman
0276761a1e
process: Make MirrorMemory take state to map new memory as
Credits to Subv
7 years ago
Zach Hilman
8aa17f0480
pl_u: Resize buffers in shared font data getter to what game requests
Fixes unmapped spam in SMP and buffer size errors in some other games
7 years ago
Lioncash
cd47af8af0
service/acc: Correct error case within TrySelectUserWithoutInteraction()
empty() in this case will always return false, since the returned
container is a std::array. Instead, check if all given users are invalid
before returning the error code.
7 years ago
Lioncash
9761936e02
profile_manager: Replace iterative loop with a ranged-for loop in ParseUserSaveFile()
7 years ago
Lioncash
1af13e0802
profile_manager: Move UUID Format function definitions into the cpp file
Avoids relying on fmt always being indirectly included.
7 years ago
Lioncash
e6676afa18
yuzu/configure_system: Mark the entropy mask string as nontranslatable
There's no need for translators to concern themselves with the
validation mask used by the entry field.
7 years ago
Lioncash
b4f63db04e
nfp: Correct erroneous sizeof expression within GetTagInfo()
The previous expression would copy sizeof(size_t) amount of bytes (8 on
a 64-bit platform) rather than the full 10 bytes comprising the uuid
member.
Given the source and destination types are the same, we can just use an
assignment here instead.
7 years ago
Lioncash
3619b31fc0
service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate
Based off RE, they both currently go through the same codepath with no
difference in behavior.
7 years ago
Lioncash
fcde356f15
hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate()
7 years ago
Lioncash
958fa15a4c
service: Mark MakeFunctionString with the [[maybe_unused]] attribute.
When yuzu is compiled in release mode this function is unused, however,
when compiled in debug mode, it's used within a LOG_TRACE statement.
This prevents erroneous compilation warnings about an unused function
(that isn't actually totally unused).
7 years ago
Lioncash
f9db75fe40
kernel/thread: Deduplicate scheduler switching code
The code in both places was the same verbatim, so we can extract it to a
function to deduplicate the logic.
7 years ago
Lioncash
c7387e6504
string_util: Remove ArrayToString()
An old function from Dolphin. This is also unused, and pretty inflexible
when it comes to printing out different data types (for example, one
might not want to print out an array of u8s but a different type
instead. Given we use fmt, there's no need to keep this implementation
of the function around.
7 years ago
Lioncash
f1219e3a87
string_util: Remove TryParse()
This is an unused hold-over from Dolphin that was primarily used to
parse values out of the .ini files. Given we already have libraries that
do this for us, we don't need to keep this around.
7 years ago
Zach Hilman
6001af2b89
qt: Move Open yuzu Folder action from Help to File
7 years ago
Lioncash
4ed9ef15c4
video_core/renderer_base: Remove GL include from the renderer base class files
Keeps the base class source files implementation-agnostic.
7 years ago
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