Commit Graph

7536 Commits (fac0e42b2feece80258b42d8e9f80f5bbd08e4b3)
 

Author SHA1 Message Date
Lioncash fac0e42b2f kernel/thread: Make GetFreeThreadLocalSlot() reference parameter a const reference
This function only reads the data being referenced, it doesn't modify
it, so we can turn the reference into a const reference.
7 years ago
Lioncash 9a50a4f2cc kernel/thread: Make GetFreeThreadLocalSlot() internally linked
This function isn't used outside of this translation unit, so we can
make it internally linked.
7 years ago
bunnei a03c644aed
Merge pull request #896 from lioncash/audio-out
audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototype
7 years ago
Lioncash c1c397d37c audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototype
This makes the Buffer::Tag usage consistent with the Stream class's
prototype of GetTagsAndReleaseBuffers().
7 years ago
bunnei 746d7d4d28
Merge pull request #888 from lioncash/caps
service: Add capture services
7 years ago
bunnei 9bb8720289
Merge pull request #890 from lioncash/logger
lm: Amend name of ILogger
7 years ago
bunnei 16b2fd9fc8
Merge pull request #889 from lioncash/fsp
service/filesystem: Add fsp:ldr and fsp:pr services
7 years ago
bunnei 200c95db8a
Merge pull request #887 from lioncash/pcv
service: Add bpc and pcv services
7 years ago
Lioncash f77cfab516 lm: Amend name of ILogger
Previously this was being registered with the name "Logger". While we're
at it, also change the name of the class to match it.
7 years ago
Lioncash 208a457909 service/filesystem: Add fsp:ldr and fsp:pr services
Adds the basic skeleton for the remaining fsp services based off
information provided by Switch Brew.
7 years ago
Lioncash e39294c267 service: Add capture services
Adds the basic skeleton for the capture services based off information
provided by Switch Brew.
7 years ago
Lioncash d109279543 service: Add bpc and pcv services
Adds the basic skeleton for the remaining pcv-related services based off
information on Switch Brew.
7 years ago
bunnei 99a1d7440d
Merge pull request #885 from greggameplayer/R32-Float
Implement R32_FLOAT RenderTargetFormat
7 years ago
Unknown 0d8fcab136 Implement R32_FLOAT RenderTargetFormat 7 years ago
bunnei 703663d761
Merge pull request #882 from lioncash/unused
kernel/thread: Remove unimplemented function prototype
7 years ago
bunnei d2ad279a32
Merge pull request #871 from bunnei/audio-config
audio_core: Add configuration settings.
7 years ago
Lioncash 49e198b20d kernel/thread: Remove unimplemented function prototype
Given there's no implementation, we may as well remove the code
entirely.
7 years ago
bunnei ff2c1b0a94
Merge pull request #877 from lioncash/remove
kernel: Remove unused object_address_table.cpp/.h
7 years ago
bunnei 98af269415
Merge pull request #880 from lioncash/audio
service/audio: Add missing services
7 years ago
bunnei ca84b530a3 audio_core: Add configuration settings. 7 years ago
bunnei f5efac3442
Merge pull request #876 from lioncash/include
kernel: Remove unnecessary includes
7 years ago
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.
7 years ago
bunnei da07faebfe
Merge pull request #879 from lioncash/audio
audout_u: Remove std::move in OpenAudioOutImpl()
7 years ago
bunnei 0a2b219a31
Merge pull request #864 from FearlessTobi/port-3973
Port #3973 from Citra: "Remove polymorphism issue"
7 years ago
bunnei 3575c076cb
Merge pull request #869 from Subv/ubsan
Corrected a few error cases detected by asan/ubsan
7 years ago
bunnei fd020ad52a
Merge pull request #875 from lioncash/fgm
service: Add fgm services
7 years ago
bunnei 3a2581cc7d
Merge pull request #874 from lioncash/am
service/am: Add missing am services
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
bunnei b79362b9da
Merge pull request #870 from lioncash/init
arm_dynarmic: Correct initializer list order
7 years ago
bunnei 86491da0d6
Merge pull request #872 from lioncash/pcie
service: Add the pcie service
7 years ago
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.
7 years ago
Lioncash 268eeeb406 service: Add fgm services
Adds the basic skeleton for the fgm services based off the information
provided by Switch Brew.
7 years ago
Lioncash f08c0520a4 arm_dynarmic: Make SetTlsAddress() prototype and definition consistent
Makes the definition use the same type aliases as in its prototype.
7 years ago
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.
7 years ago
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()
7 years ago
Lioncash e373027a73 service: Add the pcie service
Adds the basic skeleton of the pcie service based off information on
Switch Brew.
7 years ago
bunnei bf9c62bc76
Merge pull request #855 from bunnei/cubeb
Audio output backend based on cubeb
7 years ago
bunnei f437c11caf audio_core: Implement Sink and SinkStream interfaces with cubeb. 7 years ago
bunnei 9ef227e09d audio_core: Add interfaces for Sink and SinkStream. 7 years ago
Subv 8191273a3d MacroInterpreter: Avoid left shifting negative values.
The branch target is signed, so multiply by 4 instead of left shifting by 2
7 years ago
Subv e119e17d18 nvhost_gpu: Added checks to ensure we don't read past the end of the entries when handling a GPU command list. 7 years ago
Subv 2482aca7c3 nvhost_ctrl_gpu: Only read the input parameters if they are actually there.
Passing nullptr to memcpy is undefined behavior.
7 years ago
Tobias 420f8fb29e Port #3758 from Citra (#852): Add missing std::string import in text_formatter 7 years ago
bunnei 0e8a2c7222 audio_core: Misc. improvements to stream/buffer/audio_out. 7 years ago
bunnei eaf66b4c9f audio_core: Move to audout_u impl.
- This is necessary so streams are created on the same thread.
7 years ago
bunnei 5f59815f39 externals: Add cubeb for audio output. 7 years ago
David a483e5e28d Implemented various hwopus functions (#853) 7 years ago
bunnei 05ee92a357
Merge pull request #861 from FearlessTobi/port-3972
Port #3972 from Citra: "common/timer: use std::chrono, avoid platform-dependent code"
7 years ago