Lioncash
07a3c8a2a5
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().
8 years ago
Lioncash
881380bc97
sink_details: Deduplicate long std::function repetition
We can just use type aliases to avoid needing to write the same long
type twice
8 years ago
Lioncash
5061e89fd1
sink_details: std::move std::function instances
Given std::function is allowed to potentially allocate, these should be
std::move'd to prevent potential reallocation (should that ever happen).
8 years ago
Lioncash
38c2af9330
kernel: Move object class to its own source files
General moving to keep kernel object types separate from the direct
kernel code. Also essentially a preliminary cleanup before eliminating
global kernel state in the kernel code.
8 years ago
Lioncash
f29d848665
logging/log: Remove incorrect description in PCV doc comment
PCV isn't the parental control service.
8 years ago
Lioncash
4d9067936c
service: Add psc services
Adds the basic skeleton for the psc services based off the information
provided by Switch Brew.
8 years ago
Lioncash
153a00ebc0
video_core: Make global EmuWindow instance part of the base renderer class
Makes the global a member of the RendererBase class. We also change this
to be a reference. Passing any form of null pointer to these functions
is incorrect entirely, especially given the code itself assumes that the
pointer would always be in a valid state.
This also makes it easier to follow the lifecycle of instances being
used, as we explicitly interact the renderer with the rasterizer, rather
than it just operating on a global pointer.
8 years ago
Lioncash
a155fe49dd
service/ns: Add missing ns services
Implements the basic skeleton of ns:am2, ns:ec, ns:rid, ns:rt, ns:su,
ns:vm, and ns:web based off the information provided by Switch Brew and
SwIPC.
8 years ago
Lioncash
732fe76a41
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.
8 years ago
Lioncash
1d3dfe7e22
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.
8 years ago
Lioncash
a267a3cc08
service: Add capture services
Adds the basic skeleton for the capture services based off information
provided by Switch Brew.
8 years ago
Lioncash
2635578300
service: Add bpc and pcv services
Adds the basic skeleton for the remaining pcv-related services based off
information on Switch Brew.
8 years ago
Unknown
6b77105b3d
Implement R32_FLOAT RenderTargetFormat
8 years ago
Zach Hilman
5b9d48ba43
Add missing parameter to files.push_back()
8 years ago
Zach Hilman
9a3f7d702f
Fix merge conflicts with opus and update docs
8 years ago
Zach Hilman
9b710a5901
Use more descriptive error codes and messages
8 years ago
Zach Hilman
1f83886c21
Use static const instead of const static
8 years ago
Zach Hilman
f93e75f496
Use ErrorEncrypted where applicable and fix no keys crash
8 years ago
Zach Hilman
568ce6304c
Add missing includes and use const where applicable
8 years ago
Zach Hilman
feb6b2b4a8
Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch
8 years ago
Zach Hilman
e7ae26a563
Use SHGetKnownFolderPath instead of SHGetFolderPathA
8 years ago
Zach Hilman
272ca87298
Make XCI comply to review and style guidelines
8 years ago
Zach Hilman
03467b64e3
Extract mbedtls to cpp file
8 years ago
Zach Hilman
0c75b8d6b2
Add missing string.h include
8 years ago
Zach Hilman
bba2d504f0
Update mbedtls and fix compile error
8 years ago
Zach Hilman
b10c0d291f
Remove files that are not used
8 years ago
Lioncash
682836d539
kernel/thread: Remove unimplemented function prototype
Given there's no implementation, we may as well remove the code
entirely.
8 years ago
bunnei
14d9b2d6d3
audio_core: Add configuration settings.
8 years ago
Lioncash
c3deab1f6e
service/audio: Add missing services
Adds the missing audctl service, as well as the :a and :d services for
audin, audout, audrec, and audren.
8 years ago
Lioncash
ea4e7b7fc5
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.
8 years ago
Lioncash
a87d3a4c42
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.
8 years ago
Lioncash
3d2d454c36
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.
8 years ago
Lioncash
00ce1994f3
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.
8 years ago
Lioncash
bdeda001bc
service: Add fgm services
Adds the basic skeleton for the fgm services based off the information
provided by Switch Brew.
8 years ago
Lioncash
f90376d170
arm_dynarmic: Make SetTlsAddress() prototype and definition consistent
Makes the definition use the same type aliases as in its prototype.
8 years ago
Lioncash
2cd4a2bbd8
arm_dynarmic: Remove unnecessary qualifying of ThreadContext
Given the ARM_Dynarmic class inherits from ARM_Interface, we don't need
to qualify here.
8 years ago
Lioncash
00542bc1a4
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()
8 years ago
Lioncash
e136d94655
service: Add the pcie service
Adds the basic skeleton of the pcie service based off information on
Switch Brew.
8 years ago
bunnei
0ba0cdbed9
audio_core: Implement Sink and SinkStream interfaces with cubeb.
8 years ago
bunnei
f1f3a65391
audio_core: Add interfaces for Sink and SinkStream.
8 years ago
Subv
3aebf087c1
MacroInterpreter: Avoid left shifting negative values.
The branch target is signed, so multiply by 4 instead of left shifting by 2
8 years ago
Subv
253cd9b5b9
nvhost_gpu: Added checks to ensure we don't read past the end of the entries when handling a GPU command list.
8 years ago
Subv
48df583947
nvhost_ctrl_gpu: Only read the input parameters if they are actually there.
Passing nullptr to memcpy is undefined behavior.
8 years ago
Tobias
1e25018638
Port #3758 from Citra ( #852 ): Add missing std::string import in text_formatter
8 years ago
bunnei
02472448da
audio_core: Misc. improvements to stream/buffer/audio_out.
8 years ago
bunnei
fe039386fc
audio_core: Move to audout_u impl.
- This is necessary so streams are created on the same thread.
8 years ago
David
42f8eef8b3
Implemented various hwopus functions ( #853 )
8 years ago
Tobias
d60c5fdb23
Port #3769 from Citra: "Update Dark theme to latest version"
8 years ago
Hexagon12
0c5691e8b4
Add some HID commands ( #843 )
* Added some HID commands
* Addressed comments
8 years ago
Cameron Cawley
edf024592e
Port #3732 from Citra: "common: Fix compilation on ARM"
8 years ago