summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Service/Audio: audout_a.cpp: remove pragma onceGravatar mailwl2018-08-061-2/+0
|
* Merge pull request #932 from lioncash/funcGravatar bunnei2018-08-052-9/+9
|\ | | | | core_timing: Use transparent functors where applicable
| * core_timing: Convert typedef into a type aliasGravatar Lioncash2018-08-051-4/+4
| | | | | | | | Makes the alias a little more readable from left-to-right.
| * core_timing: Use transparent functors where applicableGravatar Lioncash2018-08-051-5/+5
| | | | | | | | | | | | Gets rid of the need to hardcode the type in multiple places. This will now be deduced automatically, based off the elements in the container being provided to the algorithm.
* | Merge pull request #929 from lioncash/addrGravatar bunnei2018-08-052-83/+89
|\ \ | | | | | | gdbstub: Minor changes
| * | gdbstub: Use type alias for breakpoint mapsGravatar Lioncash2018-08-051-37/+42
| | | | | | | | | | | | | | | | | | | | | | | | Rather than having to type out the full std::map type signature, we can just use a straightforward alias. While we're at it, rename GetBreakpointList to GetBreakpointMap, which makes the name more accurate. We can also get rid of unnecessary u64 static_casts, since VAddr is an alias for a u64.
| * | gdbstub: Move all file-static variables into the GDBStub namespaceGravatar Lioncash2018-08-051-35/+36
| | | | | | | | | | | | | | | Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
| * | gdbstub: Replace PAddr alias with VAddrGravatar Lioncash2018-08-052-14/+14
| | | | | | | | | | | | In all cases, a virtual address is being passed in, not a physical one.
* | | Merge pull request #930 from lioncash/threadGravatar bunnei2018-08-051-15/+15
|\ \ \ | | | | | | | | address_arbiter: Return by value from GetThreadsWaitingOnAddress()
| * | | address_arbiter: Return by value from GetThreadsWaitingOnAddress()Gravatar Lioncash2018-08-051-15/+15
| |/ / | | | | | | | | | | | | In all cases the vector being supplied is empty, so we can just return by value in these instances.
* | | Merge pull request #925 from bunnei/audrenGravatar bunnei2018-08-054-233/+16
|\ \ \ | |_|/ |/| | Implement audren audio output
| * | audio_core: Implement audren_u audio playback.Gravatar bunnei2018-08-042-218/+9
| | |
| * | audio_core: Use s16 where possible for audio samples.Gravatar bunnei2018-08-041-3/+3
| | |
| * | audio_core: Port codec code from Citra for ADPCM decoding.Gravatar bunnei2018-08-042-11/+3
| | |
| * | audio_core: Streams need unique names for CoreTiming.Gravatar bunnei2018-08-041-1/+1
| | |
* | | Merge pull request #912 from lioncash/global-varGravatar bunnei2018-08-057-27/+57
|\ \ \ | |_|/ |/| | video_core: Eliminate the g_renderer global variable
| * | renderer_base: Make Rasterizer() return the rasterizer by referenceGravatar Lioncash2018-08-043-7/+7
| | | | | | | | | | | | | | | | | | | | | All calling code assumes that the rasterizer will be in a valid state, which is a totally fine assumption. The only way the rasterizer wouldn't be is if initialization is done incorrectly or fails, which is checked against in System::Init().
| * | video_core: Eliminate the g_renderer global variableGravatar Lioncash2018-08-047-24/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
* | | Merge pull request #924 from lioncash/arpGravatar bunnei2018-08-044-0/+95
|\ \ \ | | | | | | | | service: Add arp services
| * | | service: Add arp servicesGravatar Lioncash2018-08-044-0/+95
| | |/ | |/| | | | | | | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
* | | Merge pull request #921 from lioncash/viewGravatar bunnei2018-08-045-35/+35
|\ \ \ | | | | | | | | core/crypto: Minor changes
| * | | aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure ↵Gravatar Lioncash2018-08-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | well-defined behavior These functions should only be given trivially-copyable types.
| * | | aes_util: Make CalculateNintendoTweak() an internally linked functionGravatar Lioncash2018-08-042-12/+10
| | | | | | | | | | | | | | | | | | | | This function doesn't directly depend on class state, so it can be hidden entirely from the interface in the cpp file.
| * | | aes_util: Make Transcode() a const member functionGravatar Lioncash2018-08-042-8/+9
| | | | | | | | | | | | | | | | This doesn't modify member state, so it can be made const.
| * | | core/crypto: Remove unnecessary includesGravatar Lioncash2018-08-044-5/+5
| | | |
| * | | 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