summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-06kernel/event: Make data members privateLioncash
Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
2018-08-06Merge pull request #933 from lioncash/memorybunnei
memory: Correct prototype of ZeroBlock
2018-08-06Service/Audio: audout_a.cpp: remove pragma oncemailwl
2018-08-05Merge pull request #932 from lioncash/funcbunnei
core_timing: Use transparent functors where applicable
2018-08-05Merge pull request #929 from lioncash/addrbunnei
gdbstub: Minor changes
2018-08-05Merge pull request #930 from lioncash/threadbunnei
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
2018-08-05Merge pull request #925 from bunnei/audrenbunnei
Implement audren audio output
2018-08-05memory: Make prototype parameter names match their definitionsLioncash
Keeps the code consistent.
2018-08-05memory: Correct prototype of ZeroBlockLioncash
Previously, the prototype wasn't matching the definition, which has a Processor parameter before the destination address.
2018-08-05memory: Remove unnecessary const qualifiers in prototypesLioncash
These aren't necessary, as value-wise const only matters in the definition.
2018-08-05core_timing: Convert typedef into a type aliasLioncash
Makes the alias a little more readable from left-to-right.
2018-08-05core_timing: Use transparent functors where applicableLioncash
Gets rid of the need to hardcode the type in multiple places. This will now be deduced automatically, based off the elements in the container being provided to the algorithm.
2018-08-05Merge pull request #927 from bunnei/fix-texsbunnei
gl_shader_decompiler: Fix TEXS mask and dest.
2018-08-05gdbstub: Use type alias for breakpoint mapsLioncash
Rather than having to type out the full std::map type signature, we can just use a straightforward alias. While we're at it, rename GetBreakpointList to GetBreakpointMap, which makes the name more accurate. We can also get rid of unnecessary u64 static_casts, since VAddr is an alias for a u64.
2018-08-05gdbstub: Move all file-static variables into the GDBStub namespaceLioncash
Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
2018-08-05Merge pull request #912 from lioncash/global-varbunnei
video_core: Eliminate the g_renderer global variable
2018-08-05address_arbiter: Return by value from GetThreadsWaitingOnAddress()Lioncash
In all cases the vector being supplied is empty, so we can just return by value in these instances.
2018-08-05gdbstub: Replace PAddr alias with VAddrLioncash
In all cases, a virtual address is being passed in, not a physical one.
2018-08-05gl_shader_decompiler: Fix TEXS mask and dest.bunnei
2018-08-05Merge pull request #926 from ogniK5377/vertex-attrib-formatbunnei
gl_rasterizer: Fix glVertexAttribFormat for integers
2018-08-04audio_core: Implement audren_u audio playback.bunnei
2018-08-05added braces for conditionsDavid Marcec
2018-08-05fix the attrib format for intsDavid Marcec
2018-08-04Merge pull request #924 from lioncash/arpbunnei
service: Add arp services
2018-08-04Merge pull request #921 from lioncash/viewbunnei
core/crypto: Minor changes
2018-08-04audio_core: Use s16 where possible for audio samples.bunnei
2018-08-04audio_core: Port codec code from Citra for ADPCM decoding.bunnei
2018-08-04service: Add arp servicesLioncash
Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
2018-08-04service: Remove redundant #pragma once directivesLioncash
These don't do anything within .cpp files (we don't include cpp files, so...)
2018-08-04aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure ↵Lioncash
well-defined behavior These functions should only be given trivially-copyable types.
2018-08-04aes_util: Make CalculateNintendoTweak() an internally linked functionLioncash
This function doesn't directly depend on class state, so it can be hidden entirely from the interface in the cpp file.
2018-08-04aes_util: Make Transcode() a const member functionLioncash
This doesn't modify member state, so it can be made const.
2018-08-04core/crypto: Remove unnecessary includesLioncash
2018-08-04key_manager: Use regular std::string instead of std::string_viewLioncash
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.
2018-08-04cubeb_sink: Support variable sample_rate and num_channels.bunnei
2018-08-04audio_core: Sinks need unique names as well.bunnei
2018-08-04audio_core: Streams need unique names for CoreTiming.bunnei
2018-08-04Merge pull request #849 from DarkLordZach/xcibunnei
XCI and Encrypted NCA Support
2018-08-04Merge pull request #919 from lioncash/signbunnei
gl_shader_manager: Amend sign differences in an assertion comparison in SetShaderUniformBlockBinding()
2018-08-04gl_shader_manager: Invert conditional in SetShaderUniformBlockBinding()Lioncash
This lets us indent the majority of the code and places the error case first.
2018-08-04gl_shader_manager: Amend sign differences in an assertion comparison in ↵Lioncash
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).
2018-08-04renderer_base: Make Rasterizer() return the rasterizer by referenceLioncash
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().
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
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.
2018-08-04Merge pull request #911 from lioncash/prototypebunnei
video_core: Remove unimplemented Start() function prototype
2018-08-04Merge pull request #913 from lioncash/unused-funcbunnei
memory: Remove unused GetSpecialHandlers() function
2018-08-04Merge pull request #914 from lioncash/codesetbunnei
kernel/process: Use accessors instead of class members for referencing segment array
2018-08-04Merge pull request #917 from lioncash/crashbunnei
kernel/thread: Fix potential crashes introduced in 26de4bb5
2018-08-03kernel/thread: Fix potential crashes introduced in ↵Lioncash
26de4bb521b1ace7af76eff4f6956cb23ac0d58c 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).
2018-08-03Merge pull request #910 from lioncash/unusedbunnei
gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
2018-08-03kernel/process: Use std::array where applicableLioncash