Lioncash
a3ecd8177f
svc: Reorganize svcGetInfo, handle more error cases for existing implemented info categories
Our implementation of svcGetInfo was slightly incorrect in that we
weren't doing proper error checking everywhere. Instead, reorganize it
to be similar to how the kernel seems to do it.
7 years ago
Lioncash
ce67a308aa
service/audio/audout_u: Amend constructor initialization list order
Orders the constructor initializer list the same way the members of the
class are declared. Prevents -Wreorder warnings
7 years ago
bunnei
ec90b81b27
Merge pull request #1827 from ReinUsesLisp/clip-and-shader
gl_rasterizer: Enable clip distances when set in register and in shader
7 years ago
Lioncash
24480be3da
file_sys/registered_cache: Eliminate variable shadowing
Also inverts if statements where applicable to allow unindenting code a
little bit.
7 years ago
bunnei
d459219f99
Merge pull request #1825 from ReinUsesLisp/shader-pipeline-cache
gl_shader_manager: Update pipeline when programs have changed
7 years ago
bunnei
748355901d
Merge pull request #1795 from ReinUsesLisp/vc-cleanup
video_core: Minor style changes
7 years ago
bunnei
eb88eac608
Merge pull request #1823 from bunnei/fix-surface-copy
gl_rasterizer_cache: Fix several surface copy issues.
7 years ago
Lioncash
de9051633c
filesystem: De-globalize registered_cache_union
We can just return a new instance of this when it's requested. This only
ever holds pointers to the existing registed caches, so it's not a large
object. Plus, this also gets rid of the need to keep around a separate
member function just to properly clear out the union.
Gets rid of one of five globals in the filesystem code.
7 years ago
Lioncash
bff3cb6fb5
yuzu/game_list_worker: Deduplicate game list entry creation
Avoids duplicating the same code twice verbatim.
7 years ago
Lioncash
8cd6b92d31
yuzu/game_list_worker: Tidy up string handling in FillControlMap()
We don't need to call out to our own file handling functions when we're
going to construct a QFileInfo instance right after it. We also don't
need to convert to a std::string again just to compare the file
extension.
7 years ago
Lioncash
0a55663c74
crypto/key_manager: Remove unused variable in GetTicketblob()
7 years ago
bunnei
c15c07261f
Merge pull request #1832 from Simek/remove-game-list-border
UI: Remove border from Game List
7 years ago
bunnei
e728e683b4
Merge pull request #1830 from Subv/vi_ub
Services/VI: Dereferencing an uninitialized std::optional is undefined behavior.
7 years ago
Lioncash
cd9570ce0d
Fix debug build
A non-existent parameter was left in some formatting calls (the logging
macro for which only does anything meaningful on debug builds)
7 years ago
Lioncash
7a47740f52
file_sys: Override missing mutating functions to be stubbed out for ReadOnlyVfsDirectory by default
Ensures that read only indeed means read only.
7 years ago
Lioncash
9c56be6af9
service/fsp_srv: Implement CleanDirectoryRecursively
This is the same behavior-wise as DeleteDirectoryRecursively, with the
only difference being that it doesn't delete the top level directory in
the hierarchy, so given:
root_dir/
- some_dir/
- File.txt
- OtherFile.txt
The end result is just:
root_dir/
7 years ago
Bartosz Kaszubowski
d9193f8718
remove border from GameList
7 years ago
Subv
b0ec648f85
Services/VI: Dereferencing an uninitialized std::optional is undefined behavior.
Assert that it is not empty before using it in the DequeueBuffer wait callback.
7 years ago
bunnei
f081956197
Merge pull request #1829 from lioncash/lang
service/set: Implement MakeLanguageCode
7 years ago
Lioncash
8f52802f2b
service/set: Convert GetLanguageCode over to using PushEnum()
This code was around prior to the introduction of PushEnum, so convert
it over so we don't need to cast here.
7 years ago
Lioncash
1e5d6c1b99
service/set: Implement MakeLanguageCode
This function simply converts a given index into a language code.
7 years ago
Lioncash
6910b79f18
configure_input: Amend clang-format discrepancies
7 years ago
bunnei
96dc19dfa0
gl_rasterizer_cache: Update AccurateCopySurface to flush complete source surface.
- Fixes issues with Breath of the Wild with use_accurate_gpu_emulation setting.
7 years ago
ReinUsesLisp
5861ae801a
gl_rasterizer: Enable clip distances when set in register and in shader
7 years ago
ReinUsesLisp
95bdbe4ba6
gl_shader_manager: Update pipeline when programs have changed
7 years ago
Zach Hilman
c011ba51b7
hle_ipc: Refactor SleepClientThread to avoid ReadableEvent
7 years ago
Zach Hilman
b0d0735e9b
kernel/event: Reference ReadableEvent from WritableEvent
7 years ago
Zach Hilman
fe0071f8fa
core: Port all current usages of Event to Readable/WritableEvent
7 years ago
Zach Hilman
c03864f7c3
hle_ipc: Use event pair for SleepClientThread
7 years ago
Zach Hilman
bc1d399d7a
kernel: Add named event table
Used to store ReadableEvents of all events on the system.
7 years ago
Zach Hilman
7d3971d33c
kernel: Divide Event into ReadableEvent and WritableEvent
More hardware accurate. On the actual system, there is a differentiation between the signaler and signalee, they form a client/server relationship much like ServerPort and ClientPort.
7 years ago
Zach Hilman
9a5f8bbc2d
kernel/object: Add descriptions to ResetTypes
7 years ago
bunnei
1e3699cf58
Merge pull request #1768 from greggameplayer/patch-2
Uncheck automatically joycons docked when docked mode is enable
7 years ago
bunnei
aa55b8925e
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
7 years ago
bunnei
adf5b142d1
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.
7 years ago
ReinUsesLisp
af86f71874
gl_shader_decompiler: Remove texture temporal in TLD4
7 years ago
ReinUsesLisp
c63ad999e3
gl_shader_decompiler: Flip negated if else statement
7 years ago
ReinUsesLisp
b9a713ec1f
gl_shader_decompiler: Use GLSL scope on instructions unrelated to textures
7 years ago
ReinUsesLisp
1fde852168
gl_shader_decompiler: Move texture code generation into lambdas
7 years ago
ReinUsesLisp
e3149ce341
gl_shader_decompiler: Clean up texture instructions
7 years ago
ReinUsesLisp
e5e98bb15c
gl_shader_decompiler: Scope GLSL variables with a scoped object
7 years ago
ReinUsesLisp
5aa6a6e0d0
gl_rasterizer: Signal UNIMPLEMENTED when rt_separate_frag_data is not zero
7 years ago
ReinUsesLisp
e62bacf3d2
gl_rasterizer_cache: Use brackets for two-line single-expresion blocks
7 years ago
ReinUsesLisp
a923c7cda5
gl_rasterizer: Remove unused struct declarations
7 years ago
ReinUsesLisp
c6223f0a9e
gl_rasterizer: Remove extension booleans
7 years ago
bunnei
6149038433
Merge pull request #1808 from Tinob/master
Fix clip distance and viewport
7 years ago
bunnei
e7b2a0c728
Merge pull request #1786 from Tinob/DepthClamp
Add Depth Clamp Support
7 years ago
bunnei
2053dffb46
Merge pull request #1817 from DarkLordZach/npad-idx-fix
npad: Use NPadIdToIndex to prevent invalid array access
7 years ago
bunnei
6a068c80f7
Merge pull request #1792 from bunnei/dma-pusher
gpu: Rewrite GPU command list processing with DmaPusher class.
7 years ago
Zach Hilman
b6d31945d6
npad: Use NPadIdToIndex to prevent invalid array access
7 years ago