Commit Graph

7530 Commits (9d59b96ef907e8be2560107485f7616a2234c4a8)
 

Author SHA1 Message Date
Zach Hilman 9d59b96ef9 Use static const instead of const static
Zach Hilman a9c921a41d Use ErrorEncrypted where applicable and fix no keys crash
Zach Hilman 03149d3e4a Add missing includes and use const where applicable
Zach Hilman 150527ec19 Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch
Zach Hilman cc8234fa89 Use SHGetKnownFolderPath instead of SHGetFolderPathA
Zach Hilman 239a3113e4 Make XCI comply to review and style guidelines
Zach Hilman 22342487e8 Extract mbedtls to cpp file
Zach Hilman 83c3ae8be8 Add missing string.h include
Zach Hilman c54a10cb4f Update mbedtls and fix compile error
Zach Hilman df5b75694f Remove files that are not used
bunnei d2ad279a32
Merge pull request from bunnei/audio-config
audio_core: Add configuration settings.
bunnei ff2c1b0a94
Merge pull request from lioncash/remove
kernel: Remove unused object_address_table.cpp/.h
bunnei 98af269415
Merge pull request from lioncash/audio
service/audio: Add missing services
bunnei ca84b530a3 audio_core: Add configuration settings.
bunnei f5efac3442
Merge pull request from lioncash/include
kernel: Remove unnecessary includes
Lioncash bba63b33a1 service/audio: Add missing services
Adds the missing audctl service, as well as the :a and :d services for
audin, audout, audrec, and audren.
bunnei da07faebfe
Merge pull request from lioncash/audio
audout_u: Remove std::move in OpenAudioOutImpl()
bunnei 0a2b219a31
Merge pull request from FearlessTobi/port-3973
Port  from Citra: "Remove polymorphism issue"
bunnei 3575c076cb
Merge pull request from Subv/ubsan
Corrected a few error cases detected by asan/ubsan
bunnei fd020ad52a
Merge pull request from lioncash/fgm
service: Add fgm services
bunnei 3a2581cc7d
Merge pull request from lioncash/am
service/am: Add missing am services
Lioncash 369f6e58aa kernel: Remove unused object_address_table.cpp/.h
These source files were entirely unused throughout the rest of the
codebase. This also has the benefit of getting rid of a global variable
as well.
Lioncash 1ced7bbea5 audout_u: Remove std::move in OpenAudioOutImpl()
Previously the code was using the values from params further below after
it was std::moved. Thankfully, given AudoutParams is a trivially
copyable struct, the values would have simply been copied in this
instance and not invalidated to garbage values.
Lioncash a2304fad16 kernel: Remove unnecessary includes
Removes unnecessary direct dependencies in some headers and also gets
rid of indirect dependencies that were being relied on to be included.
bunnei b79362b9da
Merge pull request from lioncash/init
arm_dynarmic: Correct initializer list order
bunnei 86491da0d6
Merge pull request from lioncash/pcie
service: Add the pcie service
Lioncash 7da8f15461 service/am: Add missing am services
Adds the basic skeleton for missing am services idle:sys, omm, and spsm
based off the information provided by Switch Brew.
Lioncash 268eeeb406 service: Add fgm services
Adds the basic skeleton for the fgm services based off the information
provided by Switch Brew.
Lioncash f08c0520a4 arm_dynarmic: Make SetTlsAddress() prototype and definition consistent
Makes the definition use the same type aliases as in its prototype.
Lioncash 9d6aa7bff7 arm_dynarmic: Remove unnecessary qualifying of ThreadContext
Given the ARM_Dynarmic class inherits from ARM_Interface, we don't need
to qualify here.
Lioncash 444a01afa6 arm_dynarmic: Correct initializer list order
Amends the initializer list to be in the same order that each variable
would be initialized in. We also do this to ensure we don't use a bogus
uninitialized instance of the exclusive monitor within MakeJit()

We can also remove the jit member from the initializer list as this is
initialized by PageTableChanged()
Lioncash e373027a73 service: Add the pcie service
Adds the basic skeleton of the pcie service based off information on
Switch Brew.
bunnei bf9c62bc76
Merge pull request from bunnei/cubeb
Audio output backend based on cubeb
bunnei f437c11caf audio_core: Implement Sink and SinkStream interfaces with cubeb.
bunnei 9ef227e09d audio_core: Add interfaces for Sink and SinkStream.
Subv 8191273a3d MacroInterpreter: Avoid left shifting negative values.
The branch target is signed, so multiply by 4 instead of left shifting by 2
Subv e119e17d18 nvhost_gpu: Added checks to ensure we don't read past the end of the entries when handling a GPU command list.
Subv 2482aca7c3 nvhost_ctrl_gpu: Only read the input parameters if they are actually there.
Passing nullptr to memcpy is undefined behavior.
Tobias 420f8fb29e Port from Citra (): Add missing std::string import in text_formatter
bunnei 0e8a2c7222 audio_core: Misc. improvements to stream/buffer/audio_out.
bunnei eaf66b4c9f audio_core: Move to audout_u impl.
- This is necessary so streams are created on the same thread.
bunnei 5f59815f39 externals: Add cubeb for audio output.
David a483e5e28d Implemented various hwopus functions ()
bunnei 05ee92a357
Merge pull request from FearlessTobi/port-3972
Port  from Citra: "common/timer: use std::chrono, avoid platform-dependent code"
bunnei e6b08b2209
Merge pull request from FearlessTobi/port-3997
Port  from Citra: "common/string_utils: replace boost::transform with std counterpart"
Mat M 043db620c6
Merge pull request from MerryMage/dynarmic
externals: Update dynarmic to 73d3efc
MerryMage 99b5aa273c externals: Update dynarmic to 73d3efc
73d3efc emit_x64_floating_point: Deduplicate code
c9508c3 fuzz_with_unicorn: Randomize FPCR.DN
2970833 emit_x64_vector_floating_point: Fix FPVector{Max,Min} when FPCR.DN = 1
150764f emit_x64_floating_point: Fix FP{Max,Min} when FPCR.DN = 1
b7d209c IR: SSE4.1 implementation of FPVectorRoundInt
8cf8270 A64: Implement FRINT{N,M,P,Z,A,X,I} (vector), single/double variant
8f46c26 IR: Initial implementation of FPVectorRoundInt
97017bb A64: Implement SQADD and SQSUB, scalar variant
ce58863 IR: Generalise SignedSaturated{Add,Sub} to support more bitwidths
e80f8ff a64_emit_x64: Bugfix EmitA64OrQC - Incorrect argument
1e4ec7e simd_three_same: Extract non-paired SMAX, SMIN, UMAX, UMIN code to a common function
6f9dc9b A64: Implement SMAXP, SMINP, UMAXP, UMINP
1dfb29f ir: Add opcodes for vector paired maximum and minimums
017b510 A64: Implement SMAXV, SMINV, UMAXV, and UMINV
aae22ee ir: Add opcodes for performing scalar integral min/max
6ef3af3 A64: Implement PMULL{2}
2a4ce19 translate: Deduplicate GetDataSize() functions
0e01500 floating_point_{conditional}_compare: Deduplicate code
259237c common: Move all cryptographic function to common/crypto
c5f1080 a32_emit_x64: BMI2 implementation of A32SetCpsr
a23304a a32_emit_x64: Shorten EmitA32GetCpsr
57604d2 a32_emit_x64: Assert that memory layout assumption in EmitA32GetCpsr is valid
945fa48 A64: Implement PMUL
656a404 ir: Add opcode for performing polynomial multiplication
05143df A64: Implement FCVT{N,M,A,P}{U,S} (vector), FCVTZU (vector, integer), single/double variant
34ce767 A64: Implement FCVTZS (vector, integer), single/double variant
0f9bc2d IR: Implement FPVectorTo{Signed,Unsigned}Fixed
0189e44 fp/info: Replace constant value generators with FPValue
db16568 emit_x64_vector_floating_point: AVX implementation of FPVector{Max,Min}
31148bd emit_x64_vector_floating_point: Remove unnecessary double jump in HandleNaNs
4c3ca51 A64: Implement FMAX's vector single and double precision variants
bf0f21c A64: Implement FMIN's vector single and double precision variants
76f0ca0 IR: Implement FPVector{Max,Min}
6c37c31 FPRecipEstimate: Move offset out of function
59546f3 microinstruction: Update ReadsFromAndWritesToFPSRCumulativeExceptionBits
3f6b03a A64: Implement FRECPS, vector/scalar single/double variants
2d2ca5e IR: Implement FPRecipStepFused, FPVectorRecipStepFused
5cb9f1d A64: Implement FRECPE, vector single/double variant
c5a14ab IR: Implement FPVectorRecipEstimate
56f8a0b A64: Implement FRECPE, scalar single/double variant
fde69b4 IR: Implement FPRecipEstimate
186e52c IR: Implement FPRecipEstimate
cf2e1ae fp: Change FPUnpacked to a normalized representation
bunnei 884a4e1e19
Merge pull request from FearlessTobi/port-3837
Port  from Citra: "citra-qt: Add build date in about dialog"
Tobias 1e873eea36 Port from Citra: "Update Dark theme to latest version"
bunnei 45d1438530
Merge pull request from lioncash/cast
partition_filesystem: Remove dynamic_cast in PrintDebugInfo()