summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Service/Audio: audout_a.cpp: remove pragma onceGravatar mailwl2018-08-061-2/+0
|
* Merge pull request #932 from lioncash/funcGravatar bunnei2018-08-052-9/+9
|\ | | | | core_timing: Use transparent functors where applicable
| * core_timing: Convert typedef into a type aliasGravatar Lioncash2018-08-051-4/+4
| | | | | | | | Makes the alias a little more readable from left-to-right.
| * core_timing: Use transparent functors where applicableGravatar Lioncash2018-08-051-5/+5
| | | | | | | | | | | | 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.
* | Merge pull request #929 from lioncash/addrGravatar bunnei2018-08-052-83/+89
|\ \ | | | | | | gdbstub: Minor changes
| * | gdbstub: Use type alias for breakpoint mapsGravatar Lioncash2018-08-051-37/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | gdbstub: Move all file-static variables into the GDBStub namespaceGravatar Lioncash2018-08-051-35/+36
| | | | | | | | | | | | | | | Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
| * | gdbstub: Replace PAddr alias with VAddrGravatar Lioncash2018-08-052-14/+14
| | | | | | | | | | | | In all cases, a virtual address is being passed in, not a physical one.
* | | Merge pull request #930 from lioncash/threadGravatar bunnei2018-08-051-15/+15
|\ \ \ | | | | | | | | address_arbiter: Return by value from GetThreadsWaitingOnAddress()
| * | | address_arbiter: Return by value from GetThreadsWaitingOnAddress()Gravatar Lioncash2018-08-051-15/+15
| |/ / | | | | | | | | | | | | In all cases the vector being supplied is empty, so we can just return by value in these instances.
* | | Merge pull request #925 from bunnei/audrenGravatar bunnei2018-08-0519-294/+652
|\ \ \ | |_|/ |/| | Implement audren audio output
| * | audio_core: Implement audren_u audio playback.Gravatar bunnei2018-08-045-218/+451
| | |
| * | audio_core: Use s16 where possible for audio samples.Gravatar bunnei2018-08-049-36/+27
| | |
| * | audio_core: Port codec code from Citra for ADPCM decoding.Gravatar bunnei2018-08-045-11/+126
| | |
| * | cubeb_sink: Support variable sample_rate and num_channels.Gravatar bunnei2018-08-041-15/+25
| | |
| * | audio_core: Sinks need unique names as well.Gravatar bunnei2018-08-045-9/+14
| | |
| * | audio_core: Streams need unique names for CoreTiming.Gravatar bunnei2018-08-045-10/+14
| | |
* | | Merge pull request #927 from bunnei/fix-texsGravatar bunnei2018-08-051-2/+5
|\ \ \ | | | | | | | | gl_shader_decompiler: Fix TEXS mask and dest.
| * | | gl_shader_decompiler: Fix TEXS mask and dest.Gravatar bunnei2018-08-051-2/+5
| | | |
* | | | Merge pull request #912 from lioncash/global-varGravatar bunnei2018-08-0519-80/+110
|\ \ \ \ | |_|_|/ |/| | | video_core: Eliminate the g_renderer global variable
| * | | renderer_base: Make Rasterizer() return the rasterizer by referenceGravatar Lioncash2018-08-045-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * | | video_core: Eliminate the g_renderer global variableGravatar Lioncash2018-08-0419-74/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #928 from MerryMage/dynarmicGravatar Mat M2018-08-051-0/+0
|\ \ \ \ | |_|/ / |/| | | externals: Update dynarmic to 4f96c63
| * | | externals: Update dynarmic to 4f96c63Gravatar MerryMage2018-08-051-0/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4f96c63 emit_x64_vector_floating_point: Simplify FPVector{Min,Max} e15fdfe emit_x64_vector_floating_point: Simplify Get*Vector functions 734a00b emit_x64_floating_point: Remove EmitProcessNaNs fd45191 devirtualize: Replace DEVIRT macro with function template 67ba5d0 fuzz_with_unicorn: Remove FCVT_float from ignore list 66e6dd1 a32_emit_x64: std::move A32::UserConfig in the constructor b4890b6 emit_x64_floating_point: Use EmitPostProcessNaNs in EmitFPMulX 18b2943 emit_x64_floating_point: Remove unnecessary DenormalsAreZero from EmitFPSingleToDouble and EmitFPDoubleToSingle df1f81f emit_x64_floating_point: Simplify EmitFP{Min,Max}{,Numeric}{32,64} 21fb1c3 emit_x64_floating_point: Reduce NaN processing overhead f5c9f0f A64: Implement FMULX, scalar single/double variant 8f47773 IR: Implement FPMulX IR instruction 79e6440 fuzz_with_unicorn: Randomize SP 33c80e3 fuzz_with_unicorn: Randomize PC 8d41024 testenv: Make code_mem mobile a9fae0e emit_x64_vector: Vectorize 32-bit variants of paired min/max 8926a92 emit_x64_vector: Improve code emission of VectorGetElement* for index == 0 e20bd38 reg_alloc: Do a UseScratch if a Use destination is too small a19fa0e fuzz_with_unicorn: Randomize FPCR.AHP and FPCR.FZ16 775f368 emit_x64_floating_point: AVX implementation of ForceToDefaultNaN 71018a1 emit_x64_vector_floating_point: Prefer blendvp{s,d} to vblendvp{s,d} where possible 137f4b3 backend_x64: Remove all use of xmm0 e73d67a emit_x64_vector_floating_point: AVX implementation of ForceToDefaultNaN 43cca54 emit_x64_vector_floating_point: Reduce codesize of ForceToDefaultNaN 5dc40f4 emit_x64_vector_floating_point: Reduce codesize of EmitTwoOpVectorOperation 07622ee emit_x64_vector_floating_point: Correct FMA in FTZ mode 621c85b emit_x64_floating_point: DenormalsAreZero is redundant as hardware already does DAZ 3d0ebaa emit_x64_floating_point: FlushToZero is redundant as hardware already does FTZ f626ff8 backend_x64: Fix FPVectorMulAdd and FPMulAdd NaN handling with denormals adeb9d9 a32/fuzz_arm: Disable vfp tests 19ea70d fuzz_with_unicorn: Randomize FPCR.FZ 895db36 backend_x64: Fix bugs when FPCR.FZ=1 d7e2de2 fuzz_with_unicorn: Extract RandomFpcr function c858d6c fp/info: Deduplicate functions 5b88ec2 emit_x64_floating_point: Deduplicate EmitFPMulAdd implementation
* | | Merge pull request #926 from ogniK5377/vertex-attrib-formatGravatar bunnei2018-08-051-2/+8
|\ \ \ | | | | | | | | gl_rasterizer: Fix glVertexAttribFormat for integers
| * | | added braces for conditionsGravatar David Marcec2018-08-051-2/+3
| | | |
| * | | fix the attrib format for intsGravatar David Marcec2018-08-051-2/+7
| | |/ | |/|
* | | Merge pull request #924 from lioncash/arpGravatar bunnei2018-08-046-0/+97
|\ \ \ | | | | | | | | service: Add arp services
| * | | service: Add arp servicesGravatar Lioncash2018-08-046-0/+97
| |/ / | | | | | | | | | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
* | | Merge pull request #921 from lioncash/viewGravatar bunnei2018-08-045-35/+35
|\ \ \ | | | | | | | | core/crypto: Minor changes
| * | | aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure ↵Gravatar Lioncash2018-08-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | well-defined behavior These functions should only be given trivially-copyable types.
| * | | aes_util: Make CalculateNintendoTweak() an internally linked functionGravatar Lioncash2018-08-042-12/+10
| | | | | | | | | | | | | | | | | | | | This function doesn't directly depend on class state, so it can be hidden entirely from the interface in the cpp file.
| * | | aes_util: Make Transcode() a const member functionGravatar Lioncash2018-08-042-8/+9
| | | | | | | | | | | | | | | | This doesn't modify member state, so it can be made const.
| * | | core/crypto: Remove unnecessary includesGravatar Lioncash2018-08-044-5/+5
| | | |
| * | | key_manager: Use regular std::string instead of std::string_viewGravatar Lioncash2018-08-042-10/+7
| |/ / | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #923 from lioncash/pragmaGravatar bunnei2018-08-045-10/+0
|\ \ \ | |/ / |/| | service: Remove redundant #pragma once directives
| * | service: Remove redundant #pragma once directivesGravatar Lioncash2018-08-045-10/+0
|/ / | | | | | | | | These don't do anything within .cpp files (we don't include cpp files, so...)
* | Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-0439-80/+1404
|\ \ | | | | | | XCI and Encrypted NCA Support
| * | Add missing parameter to files.push_back()Gravatar Zach Hilman2018-08-011-5/+5
| | |
| * | Fix merge conflicts with opus and update docsGravatar Zach Hilman2018-08-015-11/+13
| | |
| * | Use more descriptive error codes and messagesGravatar Zach Hilman2018-08-019-34/+101
| | |
| * | Use static const instead of const staticGravatar Zach Hilman2018-08-011-2/+2
| | |
| * | Use ErrorEncrypted where applicable and fix no keys crashGravatar Zach Hilman2018-08-014-17/+37
| | |
| * | Add missing includes and use const where applicableGravatar Zach Hilman2018-08-0111-24/+40
| | |
| * | Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchGravatar Zach Hilman2018-08-015-7/+23
| | |
| * | Use SHGetKnownFolderPath instead of SHGetFolderPathAGravatar Zach Hilman2018-08-011-3/+4
| | |
| * | Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-0116-482/+223
| | |
| * | Extract mbedtls to cpp fileGravatar Zach Hilman2018-08-015-87/+127
| | |
| * | Add missing string.h includeGravatar Zach Hilman2018-08-011-0/+1
| | |
| * | Update mbedtls and fix compile errorGravatar Zach Hilman2018-08-012-0/+1
| | |