summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | key_manager: Use regular std::string instead of std::string_viewGravatar Lioncash2018-08-042-10/+7
| |/ / | | | | | | | | | | | | | | | | | | The benefit of std::string_view comes from the idea of avoiding copies (essentially acting as a non-owning view), however if we're just going to copy into a local variable immediately, there's not much benefit gained here.
* / / service: Remove redundant #pragma once directivesGravatar Lioncash2018-08-045-10/+0
|/ / | | | | | | | | These don't do anything within .cpp files (we don't include cpp files, so...)
* | Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-0426-62/+1318
|\ \ | |/ |/| XCI and Encrypted NCA Support
| * Add missing parameter to files.push_back()Gravatar Zach Hilman2018-08-011-5/+5
| |
| * Fix merge conflicts with opus and update docsGravatar Zach Hilman2018-08-012-1/+3
| |
| * Use more descriptive error codes and messagesGravatar Zach Hilman2018-08-017-19/+51
| |
| * Use static const instead of const staticGravatar Zach Hilman2018-08-011-2/+2
| |
| * Use ErrorEncrypted where applicable and fix no keys crashGravatar Zach Hilman2018-08-014-17/+37
| |
| * Add missing includes and use const where applicableGravatar Zach Hilman2018-08-0111-24/+40
| |
| * Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchGravatar Zach Hilman2018-08-012-7/+20
| |
| * Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-0114-455/+222
| |
| * Extract mbedtls to cpp fileGravatar Zach Hilman2018-08-014-86/+126
| |
| * Add missing string.h includeGravatar Zach Hilman2018-08-011-0/+1
| |
| * Update mbedtls and fix compile errorGravatar Zach Hilman2018-08-011-0/+1
| |
| * Remove files that are not usedGravatar Zach Hilman2018-08-0124-42/+1406
| |
* | Merge pull request #913 from lioncash/unused-funcGravatar bunnei2018-08-041-16/+0
|\ \ | | | | | | memory: Remove unused GetSpecialHandlers() function
| * | memory: Remove unused GetSpecialHandlers() functionGravatar Lioncash2018-08-031-16/+0
| | | | | | | | | | | | This is just unused code, so we may as well get rid of it.
* | | Merge pull request #914 from lioncash/codesetGravatar bunnei2018-08-045-20/+41
|\ \ \ | | | | | | | | kernel/process: Use accessors instead of class members for referencing segment array
| * | | kernel/process: Use std::array where applicableGravatar Lioncash2018-08-031-1/+2
| | | |
| * | | kernel/process: Use accessors instead of class members for referencing ↵Gravatar Lioncash2018-08-035-20/+40
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | segment array Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment.
* / / kernel/thread: Fix potential crashes introduced in ↵Gravatar Lioncash2018-08-033-13/+38
|/ / | | | | | | | | | | | | | | 26de4bb521b1ace7af76eff4f6956cb23ac0d58c This amends cases where crashes can occur that were missed due to the odd way the previous code was set up (using 3DS memory regions that don't exist).
* | Merge pull request #908 from lioncash/memoryGravatar bunnei2018-08-0314-502/+29
|\ \ | | | | | | core/memory: Get rid of 3DS leftovers
| * | core/memory: Get rid of 3DS leftoversGravatar Lioncash2018-08-0314-502/+29
| | | | | | | | | | | | Removes leftover code from citra that isn't needed.
* | | Added ability to change username & language code in the settings ui. Added ↵Gravatar David2018-08-035-5/+47
| | | | | | | | | | | | IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
* | | Merge pull request #898 from lioncash/migGravatar bunnei2018-08-034-0/+53
|\ \ \ | |/ / |/| | service: Add migration services
| * | service: Add migration servicesGravatar Lioncash2018-08-024-0/+53
| | | | | | | | | | | | | | | Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
* | | Merge pull request #892 from lioncash/globalGravatar bunnei2018-08-033-11/+11
|\ \ \ | | | | | | | | video_core: Make global EmuWindow instance part of the base renderer …
| * | | video_core: Make global EmuWindow instance part of the base renderer classGravatar Lioncash2018-08-013-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #894 from lioncash/objectGravatar bunnei2018-08-0343-155/+185
|\ \ \ \ | | | | | | | | | | kernel: Move object class to its own source files
| * | | | kernel: Move object class to its own source filesGravatar Lioncash2018-08-0143-155/+185
| | |/ / | |/| | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #904 from lioncash/staticGravatar bunnei2018-08-031-8/+6
|\ \ \ \ | | | | | | | | | | kernel/thread: Minor changes
| * | | | kernel/thread: Make GetFreeThreadLocalSlot()'s loop indices size_tGravatar Lioncash2018-08-021-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids using a u32 to compare against a range of size_t, which can be a source of warnings. While we're at it, compress a std::tie into a structured binding.
| * | | | kernel/thread: Make GetFreeThreadLocalSlot() reference parameter a const ↵Gravatar Lioncash2018-08-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reference This function only reads the data being referenced, it doesn't modify it, so we can turn the reference into a const reference.
| * | | | kernel/thread: Make GetFreeThreadLocalSlot() internally linkedGravatar Lioncash2018-08-021-1/+1
| |/ / / | | | | | | | | | | | | | | | | This function isn't used outside of this translation unit, so we can make it internally linked.
* | | | Merge pull request #905 from lioncash/vmaGravatar bunnei2018-08-023-23/+23
|\ \ \ \ | | | | | | | | | | kernel/vm_manager: Minor changes
| * | | | kernel/vm_manager: Convert loop into std::any_of()Gravatar Lioncash2018-08-021-4/+4
| | | | |
| * | | | kernel/vm_manager: Use const where applicableGravatar Lioncash2018-08-023-19/+19
| | | | | | | | | | | | | | | | | | | | Makes our immutable state explicit.
| * | | | kernel/vm_manager: Use the VAddr type alias in CarveVMA()Gravatar Lioncash2018-08-021-2/+2
| |/ / / | | | | | | | | | | | | These two variables correspond to address ranges.
* | | | Merge pull request #903 from lioncash/copyGravatar bunnei2018-08-021-3/+6
|\ \ \ \ | | | | | | | | | | vfs_vector: Minor changes
| * | | | vfs_vector: Remove unused variable in FindAndRemoveVectorElement()Gravatar Lioncash2018-08-021-2/+2
| | | | | | | | | | | | | | | | | | | | This wasn't being used for anything, so it can be removed.
| * | | | vfs_vector: Avoid unnecessary copies where applicableGravatar Lioncash2018-08-021-2/+5
| |/ / / | | | | | | | | | | | | | | | | The lambda elements should be taken by const reference here, and we can move the virtual directory passed to ReplaceFileWithSubdirectory()
* | | | Merge pull request #899 from lioncash/unusedGravatar bunnei2018-08-027-334/+0
|\ \ \ \ | | | | | | | | | | hw: Remove unused files
| * | | | hw: Remove unused filesGravatar Lioncash2018-08-027-334/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | None of these files are used in any meaningful way. They're just leftovers from citra. Also has the benefit of getting rid of an unused global variable.
* | | | Merge pull request #891 from lioncash/nsGravatar bunnei2018-08-021-0/+447
|\ \ \ \ | | | | | | | | | | service/ns: Add missing ns services
| * | | | service/ns: Add missing ns servicesGravatar Lioncash2018-08-011-0/+447
| | |/ / | |/| | | | | | | | | | | | | | | | | | 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.
* | | | service: Add psc servicesGravatar Lioncash2018-08-014-0/+96
| |/ / |/| | | | | | | | | | | Adds the basic skeleton for the psc services based off the information provided by Switch Brew.
* | | Merge pull request #888 from lioncash/capsGravatar bunnei2018-08-014-0/+171
|\ \ \ | | | | | | | | service: Add capture services
| * | | service: Add capture servicesGravatar Lioncash2018-08-014-0/+171
| |/ / | | | | | | | | | | | | Adds the basic skeleton for the capture services based off information provided by Switch Brew.
* | | Merge pull request #890 from lioncash/loggerGravatar bunnei2018-08-011-4/+4
|\ \ \ | | | | | | | | lm: Amend name of ILogger
| * | | lm: Amend name of ILoggerGravatar Lioncash2018-08-011-4/+4
| |/ / | | | | | | | | | | | | Previously this was being registered with the name "Logger". While we're at it, also change the name of the class to match it.