Lioncash
ca7655be3a
service: Add btm services
Adds the skeleton for the btm services based off the information on
Switch Brew.
8 years ago
bunnei
f1c519f2cb
audout: Implement IAudioOut interface with AudioCore.
8 years ago
Lioncash
7931cc0ceb
service: Add ncm services
Adds the basic skeleton for the ncm services based off information on
Switch Brew.
8 years ago
Lioncash
f46bfdd77d
service: Add mii services
Adds the skeleton for the mii services based off information provided by
Switch Brew
8 years ago
Lioncash
50dadc33e3
service/nfc: Implement Create[x]Interface functions
These simply return the respective interface.
8 years ago
Lioncash
04d144aa40
service: Add nfc services
Adds the skeleton of the nfc service based off the information provided
on Switch Brew.
8 years ago
Lioncash
ea8dd8b650
service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode
Implements these functions according to the information available on
Switch Brew.
8 years ago
Lioncash
c2c543e8f7
service: Add the lbl service
Adds the skeleton of the lbl service based off the information provided
by Switch Brew.
8 years ago
Lioncash
f49248437e
service: Add the btdrv service
Adds the skeleton for the btdrv service based off the information provided by Switch Brew
8 years ago
Lioncash
1121622dc1
service/hid: Add the hidbus, hid:dbg, hid:sys, and hid:tmp services
8 years ago
Lioncash
7550c2c866
service/hid: Add the xcd:sys service
8 years ago
Lioncash
82cb5f030d
service/hid: Add irs services
8 years ago
Lioncash
b28af1f6c9
service: Add the grc:c service
Adds the basic skeleton for the grc:c service based off the information
provided by Switch Brew.
8 years ago
Lioncash
f916611e32
service: Add the nim services
Adds the skeleton for the nim services based off information from Switch
Brew.
8 years ago
Lioncash
8781beaf0d
service: Add ldn services
Adds ldn services based off information provided by Switch Brew.
8 years ago
Lioncash
3f5dfc4d96
service/sockets: Add ethc:c and ethc:i services
8 years ago
Lioncash
165e7645e1
service/sockets: Add missing bsdcfg socket service
8 years ago
Lioncash
3fb124961e
service: Add ldr services
Adds the skeleton for the ldr-related services based off the information
provided on Switch Brew.
8 years ago
Lioncash
91d86df920
lm: Move LM's class declaration into the cpp file
This isn't used directly outside of this translation unit, so we can
hide it from external use.
8 years ago
Lioncash
6f4d3d8163
lm: Amend names of Initialize() in Logger and Initialize() in LM
Amends these to match the information on Switch Brew.
8 years ago
Lioncash
8650be1020
lm: Add missing function entry to Logger's function table
8 years ago
Lioncash
7458e71f24
service: Add eupld services
Adds the skeleton for the eupld services based off information on Switch
Brew.
8 years ago
Lioncash
821f2c03cb
service: Add the erpt services
Adds the basic skeleton of the erpt service based off information on
Switch Brew.
8 years ago
Lioncash
f9951352f6
service/nvdrv: Take std::string in Open() by const reference
Avoids copies from being made, since the string is only ever used for
lookup, the data is never transfered anywhere.
Ideally, we'd use a std::string_view here, but devices is a
std::unordered_map, not a std::map, so we can't use heterogenous lookup
here.
8 years ago
Lioncash
a2cd07d094
service/nvdrv: Use std::move where applicable
Avoids unnecessary reference count increments and decrements.
In one case, we don't need to make a shared_ptr copy at all,
just to call a member function.
8 years ago
Lioncash
85ed42a1d2
service/nifm: Deduplicate interface code
Rather than having the same code for each nifm service variant, we can
centralize it on one class and get rid of a bit of extra code.
8 years ago
Lioncash
c664f8a257
service: Add pm services
Adds the skeleton for the process management services based off
information on Switch Brew.
8 years ago
Lioncash
4175712976
service: Add the es service
Adds the skeleton for the ETicket service based off the information on
Switch Brew
8 years ago
Lioncash
3c1cb3b11e
time: Add the time:a service
Given we already have time:s and time:u, we should also have time:a
8 years ago
Lioncash
07c2d057bd
friend: Add friend:m, friend:s, and friend:v services
Given we already have friend:a and friend:u, we should add the remaining
services as well.
8 years ago
Lioncash
9539a1eadd
friend/interface: Add missing CreateDaemonSuspendSessionService() to the function handler table
8 years ago
Lioncash
77daef44b0
friend: Deduplicate interfaces
8 years ago
Lioncash
a61124a9e7
time: Simplify interface creation
We can use one instance of the interface instead of duplicating code.
8 years ago
MerryMage
44646e2ea0
core_timing: Split off utility functions into core_timing_util
8 years ago
Lioncash
63c605c04a
set_sys: Implement SetColorSetId()
8 years ago
Lioncash
1d755abce4
core: Make converting constructors explicit where applicable
Avoids unwanted implicit conversions. Thankfully, given the large amount
of cleanup in past PRs, only this tiny amount is left over to cover.
8 years ago
Lioncash
8b83adfed6
apm/interface: Remove redundant declaration of InstallInterfaces()
This is already declared in apm/apm.h
8 years ago
Zach Hilman
59cb258409
VFS Regression and Accuracy Fixes ( #776 )
* Regression and Mode Fixes
* Review Fixes
* string_view correction
* Add operator& for FileSys::Mode
* Return std::string from SanitizePath
* Farming Simulator Fix
* Use != With mode operator&
8 years ago
Lioncash
1432912ae8
vi: Add std::is_trivially_copyable checks to Read and Write functions
It's undefined behavior to memcpy an object that isn't considered
trivially copyable, so put a compile-time check in to make sure this
doesn't occur.
8 years ago
Lioncash
344a0c91f2
vi: std::move std::vector in constructors where applicable
Allows avoiding unnecessary copies of the vector depending on the
calling code.
While we're at it, remove a redundant no-parameter base constructor call
8 years ago
Lioncash
e85308cd90
set: Add missing log call in GetAvailableLanguageCodeCount()
Forgot to include this in 22f448b632
8 years ago
Lioncash
22f448b632
set: Implement GetAvailableLanguageCodeCount()
This just returns the size of the language code buffer.
8 years ago
Lioncash
37aeecd29f
set: Correct return code size of value in GetAvailableLanguageCodes()
The return code should be 32-bit in size.
8 years ago
Lioncash
398444e676
file_util, vfs: Use std::string_view where applicable
Avoids unnecessary construction of std::string instances where
applicable.
8 years ago
Subv
5c49e56d41
GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command.
This behaves quite similarly to the SubmitGPFIFO command. Referenced from Ryujinx.
Many thanks to @gdkchan for investigating this!
8 years ago
Lioncash
d66b43dadf
file_util: Use an enum class for GetUserPath()
Instead of using an unsigned int as a parameter and expecting a user to
always pass in the correct values, we can just convert the enum into an
enum class and use that type as the parameter type instead, which makes
the interface more type safe.
We also get rid of the bookkeeping "NUM_" element in the enum by just
using an unordered map. This function is generally low-frequency in
terms of calls (and I'd hope so, considering otherwise would mean we're
slamming the disk with IO all the time) so I'd consider this acceptable
in this case.
8 years ago
bunnei
dffd154d6d
apm: Improve stub for GetPerformanceConfiguration.
8 years ago
Subv
9c7321fe6d
HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error.
And make IManagerForApplication::CheckAvailability always return false.
Returning a bogus id from GetAccountId causes games to crash on boot.
We should investigate this with a hwtest and either stub it properly or implement it.
8 years ago
Lioncash
40c9c5a55c
audren_u: Use a std::array instead of std::string for holding the audio interface/device name
std::string doesn't include the null-terminator in its data() + size()
range. This ensures that the null-terminator will also be written to the buffer
8 years ago
Lioncash
c20cea118b
audout_u: Use a std::array instead of std::string for holding the audio interface name
Uses a type that doesn't potentially dynamically allocate, and ensures
that the name of the interface is properly null-terminated when writing
it to the buffer.
8 years ago