David Marcec
112a0b8d6d
added braces for conditions
7 years ago
David Marcec
45078c8b24
fix the attrib format for ints
7 years ago
bunnei
c33e13366f
Merge pull request #924 from lioncash/arp
service: Add arp services
7 years ago
bunnei
c4d7092d4b
Merge pull request #921 from lioncash/view
core/crypto: Minor changes
7 years ago
bunnei
e88097f765
Merge pull request #923 from lioncash/pragma
service: Remove redundant #pragma once directives
7 years ago
bunnei
600e4bbeac
audio_core: Use s16 where possible for audio samples.
7 years ago
bunnei
7688b83a1c
audio_core: Port codec code from Citra for ADPCM decoding.
7 years ago
Lioncash
ed0e62fe9e
service: Add arp services
Adds the basic skeleton of the arp services based off the information
provided by Switch Brew.
7 years ago
Lioncash
2ce618c2c8
service: Remove redundant #pragma once directives
These don't do anything within .cpp files (we don't include cpp files,
so...)
7 years ago
Lioncash
c8617a1465
aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure well-defined behavior
These functions should only be given trivially-copyable types.
7 years ago
Lioncash
f0a2d4da2b
aes_util: Make CalculateNintendoTweak() an internally linked function
This function doesn't directly depend on class state, so it can be
hidden entirely from the interface in the cpp file.
7 years ago
Lioncash
1fb5027501
aes_util: Make Transcode() a const member function
This doesn't modify member state, so it can be made const.
7 years ago
Lioncash
8b86a89dd5
core/crypto: Remove unnecessary includes
7 years ago
Lioncash
d74342ad3f
key_manager: Use regular std::string instead of std::string_view
The benefit of std::string_view comes from the idea of avoiding copies
(essentially acting as a non-owning view), however if we're just going
to copy into a local variable immediately, there's not much benefit
gained here.
7 years ago
bunnei
950de5fd73
cubeb_sink: Support variable sample_rate and num_channels.
7 years ago
bunnei
97647e60f2
audio_core: Sinks need unique names as well.
7 years ago
bunnei
7186882bfe
audio_core: Streams need unique names for CoreTiming.
7 years ago
bunnei
4c42134b09
Merge pull request #849 from DarkLordZach/xci
XCI and Encrypted NCA Support
7 years ago
bunnei
a43ae368d3
Merge pull request #919 from lioncash/sign
gl_shader_manager: Amend sign differences in an assertion comparison in SetShaderUniformBlockBinding()
7 years ago
Lioncash
32901799b5
gl_shader_manager: Invert conditional in SetShaderUniformBlockBinding()
This lets us indent the majority of the code and places the error case
first.
7 years ago
Lioncash
c043a5c930
gl_shader_manager: Amend sign differences in an assertion comparison in SetShaderUniformBlockBinding()
Ensures both operands have the same sign in the comparison.
While we're at it, we can get rid of the redundant casting of ub_size to
an int. This type will always be trivial and alias a built-in type (not
doing so would break backwards compatibility at a standard level).
7 years ago
Lioncash
69bbe31ca8
renderer_base: Make Rasterizer() return the rasterizer by reference
All calling code assumes that the rasterizer will be in a valid state,
which is a totally fine assumption. The only way the rasterizer wouldn't
be is if initialization is done incorrectly or fails, which is checked
against in System::Init().
7 years ago
Lioncash
49dc22f84e
video_core: Eliminate the g_renderer global variable
We move the initialization of the renderer to the core class, while
keeping the creation of it and any other specifics in video_core. This
way we can ensure that the renderer is initialized and doesn't give
unfettered access to the renderer. This also makes dependencies on types
more explicit.
For example, the GPU class doesn't need to depend on the
existence of a renderer, it only needs to care about whether or not it
has a rasterizer, but since it was accessing the global variable, it was
also making the renderer a part of its dependency chain. By adjusting
the interface, we can get rid of this dependency.
7 years ago
bunnei
bf006dd1d4
Merge pull request #911 from lioncash/prototype
video_core: Remove unimplemented Start() function prototype
7 years ago
bunnei
a8755cb738
Merge pull request #913 from lioncash/unused-func
memory: Remove unused GetSpecialHandlers() function
7 years ago
bunnei
017fa55c0a
Merge pull request #914 from lioncash/codeset
kernel/process: Use accessors instead of class members for referencing segment array
7 years ago
bunnei
26a9093726
Merge pull request #917 from lioncash/crash
kernel/thread: Fix potential crashes introduced in 3bcf090d
7 years ago
Lioncash
6f3a3ed8c5
kernel/thread: Fix potential crashes introduced in 3bcf090d37
This amends cases where crashes can occur that were missed due to the
odd way the previous code was set up (using 3DS memory regions that
don't exist).
7 years ago
bunnei
46db65403f
Merge pull request #910 from lioncash/unused
gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
7 years ago
Lioncash
73e1be4350
kernel/process: Use std::array where applicable
7 years ago
Lioncash
73f162a5b0
kernel/process: Use accessors instead of class members for referencing segment array
Using member variables for referencing the segments array increases the
size of the class in memory for little benefit. The same behavior can be
achieved through the use of accessors that just return the relevant
segment.
7 years ago
Lioncash
0e92e67e06
memory: Remove unused GetSpecialHandlers() function
This is just unused code, so we may as well get rid of it.
7 years ago
bunnei
67b4326d93
Merge pull request #908 from lioncash/memory
core/memory: Get rid of 3DS leftovers
7 years ago
bunnei
aab3e6753f
Merge pull request #909 from lioncash/const
gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function
7 years ago
Lioncash
02cdd82efc
video_core: Remove unimplemented Start() function prototype
Given this has no definition, we can just remove it entirely.
7 years ago
Lioncash
c155adb42a
gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
This variable was being incremented, but we were never actually using
it.
7 years ago
Lioncash
300a4e3d79
gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function
This function doesn't modify class state, so it can be made const.
7 years ago
Lioncash
3bcf090d37
core/memory: Get rid of 3DS leftovers
Removes leftover code from citra that isn't needed.
7 years ago
David
4a4641a134
Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests ( #851 )
7 years ago
bunnei
1028560b4c
Merge pull request #895 from lioncash/sink
sink_details: std::move std::function instances
7 years ago
bunnei
485a6770e9
Merge pull request #898 from lioncash/mig
service: Add migration services
7 years ago
bunnei
ff296707b1
Merge pull request #900 from lioncash/init
math_util: Always initialize members of Rectangle
7 years ago
bunnei
299975e4a8
Merge pull request #892 from lioncash/global
video_core: Make global EmuWindow instance part of the base renderer …
7 years ago
bunnei
20b6c79859
Merge pull request #894 from lioncash/object
kernel: Move object class to its own source files
7 years ago
bunnei
9f560b2c57
Merge pull request #904 from lioncash/static
kernel/thread: Minor changes
7 years ago
bunnei
b6930f7a1e
Merge pull request #906 from lioncash/override
input_common: minor changes
7 years ago
bunnei
ca12628324
Merge pull request #907 from lioncash/slot
yuzu: Use Qt 5 signal/slots where applicable
7 years ago
bunnei
3ce7cf5e42
Merge pull request #905 from lioncash/vma
kernel/vm_manager: Minor changes
7 years ago
bunnei
f720eee031
Merge pull request #903 from lioncash/copy
vfs_vector: Minor changes
7 years ago
bunnei
309b596a21
Merge pull request #901 from lioncash/ref
gl_shader_manager: Take ShaderSetup instances by const reference in UseProgrammableVertexShader() and UseProgrammableFragmentShader()
7 years ago