| Age | Commit message (Collapse) | Author |
|
|
|
|
|
service: Add ldr services
|
|
service: Add erpt and eupld services
|
|
service/nifm: Deduplicate interface code
|
|
Adds the skeleton for the ldr-related services based off the information
provided on Switch Brew.
|
|
This isn't used directly outside of this translation unit, so we can
hide it from external use.
|
|
Amends these to match the information on Switch Brew.
|
|
|
|
Adds the skeleton for the eupld services based off information on Switch
Brew.
|
|
Adds the basic skeleton of the erpt service based off information on
Switch Brew.
|
|
service/nvdrv: Minor changes
|
|
service: Add pm services
|
|
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.
|
|
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.
|
|
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.
|
|
Adds the skeleton for the process management services based off
information on Switch Brew.
|
|
Adds the skeleton for the ETicket service based off the information on
Switch Brew
|
|
time: Add the time:a service
|
|
Given we already have time:s and time:u, we should also have time:a
|
|
core_timing: Split off utility functions into core_timing_util
|
|
set_sys: Implement SetColorSetId()
|
|
Given we already have friend:a and friend:u, we should add the remaining
services as well.
|
|
function handler table
|
|
|
|
core: Make converting constructors explicit where applicable
|
|
We can use one instance of the interface instead of duplicating code.
|
|
|
|
|
|
Avoids unwanted implicit conversions. Thankfully, given the large amount
of cleanup in past PRs, only this tiny amount is left over to cover.
|
|
This is already declared in apm/apm.h
|
|
* 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&
|
|
vi: Minor changes
|
|
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.
|
|
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
|
|
Forgot to include this in 22f448b6327044076959e338811ee576f3dcf093
|
|
This just returns the size of the language code buffer.
|
|
The return code should be 32-bit in size.
|
|
Avoids unnecessary construction of std::string instances where
applicable.
|
|
file_util: Use an enum class for GetUserPath()
|
|
This behaves quite similarly to the SubmitGPFIFO command. Referenced from Ryujinx.
Many thanks to @gdkchan for investigating this!
|
|
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.
|
|
|
|
HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error.
|
|
audout_u/audren_u: Ensure null terminators are written out in ListAudioOutsImpl(), ListAudioDeviceName(), and GetActiveAudioDeviceName()
|
|
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.
|
|
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
|
|
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.
|
|
With the new overload, we can simply pass the container directly.
|
|
hle_ipc: Introduce generic WriteBuffer overload for multiple container types
|