Commit Graph

10047 Commits (27a9cc2e63d07989fdb4efeeb6a6b3417281f177)
 

Author SHA1 Message Date
Zach Hilman d92989e787 kernel/object: Add descriptions to ResetTypes 6 years ago
bunnei 7befe0134d
Merge pull request #1768 from greggameplayer/patch-2
Uncheck automatically joycons docked when docked mode is enable
6 years ago
bunnei 1e49a85106
Merge pull request #1801 from ogniK5377/log-before-execute
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
6 years ago
bunnei 3d3cc35ee7 gl_rasterizer_cache: Remove BlitSurface and replace with more accurate copy.
- BlitSurface with different texture targets is inherently broken.
- When target is the same, we can just use FastCopySurface.
- Fixes rendering issues with Breath of the Wild.
6 years ago
ReinUsesLisp eb700afcf0 gl_shader_decompiler: Remove texture temporal in TLD4 6 years ago
ReinUsesLisp 8d58e5da71 gl_shader_decompiler: Flip negated if else statement 6 years ago
ReinUsesLisp f4abebd731 gl_shader_decompiler: Use GLSL scope on instructions unrelated to textures 6 years ago
ReinUsesLisp 78fc8f6b66 gl_shader_decompiler: Move texture code generation into lambdas 6 years ago
ReinUsesLisp ab13b628d0 gl_shader_decompiler: Clean up texture instructions 6 years ago
ReinUsesLisp 6a642022dd gl_shader_decompiler: Scope GLSL variables with a scoped object 6 years ago
ReinUsesLisp 037449668e gl_rasterizer: Signal UNIMPLEMENTED when rt_separate_frag_data is not zero 6 years ago
ReinUsesLisp 653d7a3f0d gl_rasterizer_cache: Use brackets for two-line single-expresion blocks 6 years ago
ReinUsesLisp 432a9872ed gl_rasterizer: Remove unused struct declarations 6 years ago
ReinUsesLisp 22c7c710b4 gl_rasterizer: Remove extension booleans 6 years ago
bunnei 5a9a84994a
Merge pull request #1808 from Tinob/master
Fix clip distance and viewport
6 years ago
bunnei 3fe8ab0d99
Merge pull request #1786 from Tinob/DepthClamp
Add Depth Clamp Support
6 years ago
bunnei c5ab648554
Merge pull request #1817 from DarkLordZach/npad-idx-fix
npad: Use NPadIdToIndex to prevent invalid array access
6 years ago
bunnei 6f849887c9
Merge pull request #1792 from bunnei/dma-pusher
gpu: Rewrite GPU command list processing with DmaPusher class.
6 years ago
Zach Hilman 299224790c npad: Use NPadIdToIndex to prevent invalid array access 6 years ago
bunnei 881f5ad70f
Merge pull request #1735 from FernandoS27/tex-spacing
Texture decoder: Implemented Tile Width Spacing
6 years ago
bunnei adb882bf90
Merge pull request #1814 from lioncash/ptr
file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()
6 years ago
bunnei ac74b71d75 dma_pushbuffer: Optimize to avoid loop and copy on Push. 6 years ago
bunnei c568f5cea7 gpu: Move command list profiling to DmaPusher::DispatchCalls. 6 years ago
bunnei e89a3b9e59
Merge pull request #1811 from lioncash/input
yuzu/input: Minor changes
6 years ago
bunnei 71dfe4a7ae
Merge pull request #1815 from DarkLordZach/npad-pos-fix
npad: Fix copy/paste error with LED position assignments
6 years ago
Zach Hilman 6df74ff579 npad: Fix copy/paste error with LED position assignments 6 years ago
Lioncash 2a22c1b27e yuzu/configure_input_player: Use std::size_t to represent the player index 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.
6 years ago
Lioncash 0782d3971b yuzu/configure_input: Make CallConfigureDialog a non-member template function
This doesn't depend on any part of the private interface, so it can be
made a non-member internal function.
6 years ago
bunnei 3cc204aff8
Merge pull request #1802 from DarkLordZach/user-data-storage
profile_manager: Save and load ProfileData from disk
6 years ago
Lioncash 7b1aaaa069 file_sys/registered_cache: Remove unused <map> include 6 years ago
Lioncash d72c809030 file_sys/registered_cache: Use regular const references instead of 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).
6 years ago
bunnei bf055e14ab
Merge pull request #1812 from lioncash/nacp
control_metadata: Correct typo in language name (Portugese -> Portuguese)
6 years ago
bunnei 066140854a
Merge pull request #1813 from ReinUsesLisp/fixup-clip
gl_shader_decompiler: Fixup clip distance index
6 years ago
ReinUsesLisp 2e9b90abad gl_shader_decompiler: Fixup clip distance index 6 years ago
Lioncash d4e3d567ce control_metadata: Correct typo in language name (Portugese -> Portuguese)
While we're at it, organize the array linearly, since clang formats the
array elements quite wide length-wise with the addition of the missing
'u'.

Technically also fixes patch lookup and icon lookup with Portuguese,
though I doubt anyone has actually run into this issue.
6 years ago
bunnei 5bea164a77
Merge pull request #1810 from degasus/dirty_flags
gl_rasterizer: Fixup for #1723.
6 years ago
Lioncash 11cf13a6e1 yuzu/configure_input_player: Use a lambda expression instead of std::bind
std::bind is the pre-C++11 way of doing this.
6 years ago
Lioncash 73a48d6523 yuzu/configure_input_player: Amend constructor initializer list order
Orders the elements the way they would actually be initialized in.
Resolves compiler warnings with gcc and clang
6 years ago
Lioncash 53bff53791 yuzu/configure_input: Remove unused function MoveGridElement 6 years ago
Lioncash d67e88e59c yuzu/configure_input*: Move data members after function declarations
The common pattern is to put the data members after the function
interface where applicable.
6 years ago
Lioncash ec7ea4ae96 yuzu/configure_input: Remove unnecessary includes 6 years ago
Markus Wick 8747f5fc0d gl_rasterizer: Fixup for #1723.
On invalidating the streaming buffer, we need to reupload all vertex buffers.
But we don't need to reconfigure the vertex format.
This was a (silly) misstake in #1723.

Thanks at Rodrigo for discovering the issue.

Fun fact, as configuring the vertex format also invalidate the vertex buffer,
this misstake had no affect on the behavior.
6 years ago
bunnei 1cd40f107f
Merge pull request #1806 from ReinUsesLisp/morton-fixup
morton: Fixup compiler warning
6 years ago
bunnei 11c17465d8
Merge pull request #1804 from lioncash/cast
gdbstub: Silence value truncation warning within FpuWrite()
6 years ago
bunnei abea6fa90c gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
6 years ago
bunnei 852a462df3
Merge pull request #1805 from lioncash/resource
svc: Implement svcCreateResourceLimit, svcGetResourceLimitCurrentValue(), svcGetResourceLimitLimitValue(), and svcSetResourceLimitLimitValue()
6 years ago
Rodolfo Bogado 6710eb4892 remove viewport_transform_enabled as it seems to be inactive when valid transforms are used. 6 years ago
Lioncash 5905162e36 svc: Implement svcSetResourceLimitLimitValue()
The opposite of the getter functions, this function sets the limit value
for a particular ResourceLimit resource category, with the restriction
that the  new limit value must be equal to or greater than the current
resource value. If this is violated, then ERR_INVALID_STATE is returned.

e.g.

Assume:

current[Events] = 10;
limit[Events] = 20;

a call to this service function lowering the limit value to 10 would be
fine, however, attempting to lower it to 9 in this case would cause an
invalid state error.
6 years ago
Lioncash eb5596044d svc: Implement svcGetResourceLimitCurrentValue()
This kernel service function is essentially the exact same as
svcGetResourceLimitLimitValue(), with the only difference being that it
retrieves the current value for a given resource category using the
provided resource limit handle, rather than retrieving the limiting
value of that resource limit instance.

Given these are exactly the same and only differ on returned values, we
can extract the existing code for svcGetResourceLimitLimitValue() to
handle both values.
6 years ago
ReinUsesLisp 237c2026e9 morton: Fixup compiler warning 6 years ago