Lioncash
ad74c3c324
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
1c50f01de8
service: Add the nim services
Adds the skeleton for the nim services based off information from Switch
Brew.
8 years ago
Lioncash
6116b53dfb
service: Add ldn services
Adds ldn services based off information provided by Switch Brew.
8 years ago
Lioncash
961ee4e3ea
service/sockets: Add ethc:c and ethc:i services
8 years ago
Lioncash
8827701e2a
service/sockets: Add missing bsdcfg socket service
8 years ago
Lioncash
fe262212e1
service: Add ldr services
Adds the skeleton for the ldr-related services based off the information
provided on Switch Brew.
8 years ago
Lioncash
6570f0cd5c
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
24db60566b
lm: Amend names of Initialize() in Logger and Initialize() in LM
Amends these to match the information on Switch Brew.
8 years ago
Lioncash
a35847e520
lm: Add missing function entry to Logger's function table
8 years ago
Lioncash
cb8bf2372d
service: Add eupld services
Adds the skeleton for the eupld services based off information on Switch
Brew.
8 years ago
Lioncash
bbdc41e153
service: Add the erpt services
Adds the basic skeleton of the erpt service based off information on
Switch Brew.
8 years ago
Lioncash
7e87e94e33
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
858c831282
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
71f9a85a01
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
c96ea0051d
service: Add pm services
Adds the skeleton for the process management services based off
information on Switch Brew.
8 years ago
Lioncash
397d500e33
service: Add the es service
Adds the skeleton for the ETicket service based off the information on
Switch Brew
8 years ago
Lioncash
11931ccf6a
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
8dd50ecfb6
deconstructed_rom_directory: Remove unused FindRomFS() function
8 years ago
Lioncash
7449b47e7f
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
4ac9553a75
friend/interface: Add missing CreateDaemonSuspendSessionService() to the function handler table
8 years ago
Lioncash
a8473054f0
friend: Deduplicate interfaces
8 years ago
Lioncash
46a1bbceea
svc: Resolve sign comparison warnings in WaitSynchronization()
The loop's induction variable was signed, but we were comparing against
an unsigned variable.
8 years ago
Lioncash
5bd30caa5c
svc: Log parameters in SetMemoryAttribute()
Provides slightly more context than only logging out the address value.
8 years ago
Lioncash
bf002d355b
time: Simplify interface creation
We can use one instance of the interface instead of duplicating code.
8 years ago
MerryMage
672d7dd573
core_timing: Split off utility functions into core_timing_util
8 years ago
MerryMage
86834affbb
CMakeLists: Sort filenames
8 years ago
Lioncash
01efb33957
set_sys: Implement SetColorSetId()
8 years ago
Lioncash
506fb32dd5
ipc_helper: Add helper member function for popping enum values to RequestParser
8 years ago
Lioncash
75c3f87d24
arm_dynarmic: Make MakeJit() a const member function
This functions doesn't modify instance state, so it can be a made a
const member function.
8 years ago
Lioncash
88f34a5b96
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
592a444838
apm/interface: Remove redundant declaration of InstallInterfaces()
This is already declared in apm/apm.h
8 years ago
Lioncash
ecc4f5065a
mutex: Pass SharedPtr to GetHighestPriorityMutexWaitingThread() by reference
The pointed to thread's members are simply observed in this case, so we
don't need to copy it here.
8 years ago
Zach Hilman
bd410ce242
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
a15433c2a9
hle_ipc: Make constructors explicit where applicable
8 years ago
Lioncash
1c25b997e8
ipc_helpers: Make member variables of ResponseBuilder private
These aren't used externally at all, so they can be made private.
8 years ago
Lioncash
78051d5378
exclusive_monitor: Use consistent type alias for u64
Uses the same type aliases we use for virtual addresses, and converts
one lingering usage of std::array<uint64_t, 2> to u128 for consistency.
8 years ago
Lioncash
6904f9f6b1
partition_filesystem: Use std::move where applicable
Avoids copying a std::string instance and avoids unnecessary atomic
reference count incrementing and decrementing.
8 years ago
Lioncash
204ed73e8c
loader: Remove unnecessary constructor call in IdentifyFile()
RealVfsFile inherits from VfsFile, the instance from std::make_shared is
already compatible with the function argument type, making the copy
constructor call unnecessary.
8 years ago
Lioncash
d5a96f2c94
linker: Remove unused parameter from WriteRelocations()
is_jump_relocation is never used within the function, so we can just
remove it.
8 years ago
Lioncash
3a72ee5fec
nro: Replace inclusion with a forward declaration
It's sufficient to use a forward declaration instead of a direct
inclusion here.
8 years ago
Lioncash
a2c69eb949
nro: Make bracing consistent
Makes the code more uniform, and also braces cases where the body of an
unbraced conditional travels more than one line.
8 years ago
Lioncash
6fd1615b93
nro: Make constructor explicit
Makes it consistent with the other Apploader constructors, and prevents
implicit conversions.
8 years ago
Lioncash
df82410454
nro: Remove unused forward declaration
This isn't used anywhere in the header.
8 years ago
Lioncash
6e39fa5950
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
dab340a3b3
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
ec38b938da
hle: Remove config_mem.h/.cpp
This is just an unused hold-over from citra, so we can get rid of this
to trim off an exposed global, among other things.
8 years ago
Lioncash
aba0f5452d
hle: Remove shared_page.h/.cpp
This is a holdover from citra that's essentially unused.
8 years ago
Lioncash
f53d6ee0bc
set: Add missing log call in GetAvailableLanguageCodeCount()
Forgot to include this in 2c22e4be19
8 years ago
Zach Hilman
ac0c52dd5f
NRO Assets and NACP file format
Cleanup
Review fixes
8 years ago
Lioncash
2c22e4be19
set: Implement GetAvailableLanguageCodeCount()
This just returns the size of the language code buffer.
8 years ago