summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* filesystem: Clear registered union paths on factory creationGravatar Zach Hilman2018-11-182-0/+6
|
* Merge pull request #1620 from DarkLordZach/ldr-roGravatar bunnei2018-11-187-23/+405
|\ | | | | ldr_ro: Complete LDR:RO implementation
| * ldr_ro: Add error check for memory allocation failureGravatar Zach Hilman2018-11-174-13/+27
| |
| * ldr_ro: Implement UnloadNro (command 1)Gravatar Zach Hilman2018-11-151-22/+85
| | | | | | | | Includes actual unmapping and address error checking.
| * ldr_ro: Fully Implement LoadNro (command 0)Gravatar Zach Hilman2018-11-151-11/+110
| | | | | | | | Includes NRO and BSS error checking, maximum loaded NRO check, NRR hash check, and proper remapping of BSS data.
| * ldr_ro: Implement UnloadNrr (command 3)Gravatar Zach Hilman2018-11-151-2/+84
| | | | | | | | Includes initialization check, proper address check, alignment check, and actual unloading of a loaded NRR.
| * ldr_ro: Fully implement LoadNrr (command 2)Gravatar Zach Hilman2018-11-151-0/+112
| | | | | | | | Includes parameter error checking, hash enforcement, initialization check, and max NRR load check.
| * process: Make MirrorMemory take state to map new memory asGravatar Zach Hilman2018-11-152-3/+7
| | | | | | | | Credits to Subv
| * pl_u: Resize buffers in shared font data getter to what game requestsGravatar Zach Hilman2018-11-151-0/+8
| | | | | | | | Fixes unmapped spam in SMP and buffer size errors in some other games
* | Merge pull request #1718 from ogniK5377/lets-go-softlockGravatar bunnei2018-11-183-1/+18
|\ \ | | | | | | Implemented CalculateStandardUserSystemClockDifferenceByUser
| * | Implemented CalculateStandardUserSystemClockDifferenceByUserGravatar David Marcec2018-11-173-1/+18
| | | | | | | | | | | | Seems pokemon calls this sometimes and it caused "random crashes"
* | | Merge pull request #1671 from DarkLordZach/vi-disconnectGravatar bunnei2018-11-181-0/+22
|\ \ \ | | | | | | | | vi: Implement TransactParcel for Disconnect and DetachBuffer
| * | | vi: Implement TransactParcel for Disconnect and DetachBufferGravatar Zach Hilman2018-11-171-0/+22
| | | | | | | | | | | | | | | | Used by homebrew on exit. According to switchbrew, returns an empty response parcel with one zero in it.
* | | | Merge pull request #1728 from FearlessTobi/reset-signalGravatar Mat M2018-11-181-1/+1
|\ \ \ \ | | | | | | | | | | svc: ResetSignal is not stubbed
| * | | | svc: ResetSignal is not stubbedGravatar Tobias2018-11-181-1/+1
| | | | | | | | | | | | | | | https://user-images.githubusercontent.com/20753089/48677874-b8e01c80-eb7b-11e8-8043-b99faa29022c.PNG
* | | | | Stubbed am:EnableApplicationCrashReportGravatar MysticExile2018-11-172-10/+18
| | | | |
* | | | | Merge pull request #1711 from ogniK5377/bluetooth-lets-goGravatar bunnei2018-11-162-1/+145
|\ \ \ \ \ | | | | | | | | | | | | Added various bluetooth based cmds for palma
| * | | | | Added various bluetooth based cmds for palmaGravatar David Marcec2018-11-172-1/+145
| | | | | | | | | | | | | | | | | | | | | | | | It seems palma is done through bluetooth, we need this for pokemon go however more research needs to be done when we actually get palma working. This is presumably used for transfering data between the controller and the console, it does not seem for actual input as far as I know.
* | | | | | Merge pull request #1719 from bunnei/hwopus-fixGravatar bunnei2018-11-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.
| * | | | | | hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.Gravatar bunnei2018-11-161-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | - Fixes audio issues with Pokemon: Let's Go Pikachu & Eevee.
* / | | | | kernel/errors: Clean up error codesGravatar Lioncash2018-11-162-62/+32
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to PR 1706, which cleans up the error codes for the filesystem code, but done for the kernel error codes. This removes the ErrCodes namespace and specifies the errors directly. This also fixes up any straggling lines of code that weren't using the named error codes where applicable.
* | | | | Merge pull request #1638 from FreddyFunk/SetMemoryPermission-StubbedGravatar Mat M2018-11-162-1/+48
|\ \ \ \ \ | | | | | | | | | | | | Implement SetMemoryPermission
| * | | | | Implement SetMemoryPermissionGravatar Frederic Laing2018-11-061-3/+39
| | | | | |
| * | | | | Stubbed SetMemoryPermissionGravatar Frederic Laing2018-11-032-1/+12
| | |_|/ / | |/| | |
* | | | | Merge pull request #1632 from DarkLordZach/keys-manager-optimizationsGravatar bunnei2018-11-1610-14/+34
|\ \ \ \ \ | | | | | | | | | | | | game_list: Optimize game list refresh
| * | | | | filesystem: Cache RegisteredCacheUnion instead of constructing on demandGravatar Zach Hilman2018-11-012-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | Prevents unnecessary re-reads of the metadata and unnecessary temporary objects.
| * | | | | file_sys: Use common KeyManager in NCA container typesGravatar Zach Hilman2018-11-016-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
| * | | | | content_archive: Add optional KeyManager parameter to constructorGravatar Zach Hilman2018-11-012-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Allows resuing a common KeyManager when a large amount of NCAs are handled by the same class. Should the parameter not be provided, a new KeyManager will be constructed, as was the default behavior prior to this.
* | | | | | Merge pull request #1706 from lioncash/file-errGravatar bunnei2018-11-164-33/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | file_sys/errors: Clean up error code values
| * | | | | | file_sys/errors: Remove currently unused filesystem error codesGravatar Lioncash2018-11-161-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than keeping around unused values, we can just introduce them as needed.
| * | | | | | file_sys/errors: Get rid of the ErrCodes namespaceGravatar Lioncash2018-11-161-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no real point to keeping the separate enum around, especially given the name of the error code itself is supposed to document what the value actually represents.
| * | | | | | file_sys/errors: Extract FS-related error codes to file_sys/errors.hGravatar Lioncash2018-11-164-14/+19
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Keeps filesystem-related error codes in one spot.
* / | | | | Added SetIsPalmaAllConnectable, SetPalmaBoostModeGravatar David Marcec2018-11-171-2/+14
|/ / / / / | | | | | | | | | | | | | | | Currently unclear what these do yet, will be researched at a later time when we want to implement palma.
* | | | | Fixed priority switching edge case for handheld (#1675)Gravatar David2018-11-151-12/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed priority switching edge case for handheld We accidently used controller index instead of npad id * Moved NPadIdToIndex
* | | | | Merge pull request #1699 from DarkLordZach/deterministic-rng-3Gravatar bunnei2018-11-151-1/+2
|\ \ \ \ \ | | | | | | | | | | | | csrng: Use random integer distribution instead of raw engine
| * | | | | csrng: Use random integer distribution instead of raw engineGravatar Zach Hilman2018-11-151-1/+2
| | |_|_|/ | |/| | | | | | | | | | | | | Prevents returning the same value every single call.
* | | | | Merge pull request #1687 from lioncash/deduplicationGravatar bunnei2018-11-152-37/+13
|\ \ \ \ \ | | | | | | | | | | | | kernel/thread: Deduplicate scheduler switching code
| * | | | | kernel/thread: Deduplicate scheduler switching codeGravatar Lioncash2018-11-142-37/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code in both places was the same verbatim, so we can extract it to a function to deduplicate the logic.
* | | | | | Merge pull request #1618 from DarkLordZach/dump-nsoGravatar bunnei2018-11-157-7/+48
|\ \ \ \ \ \ | | | | | | | | | | | | | | patch_manager: Add support for dumping uncompressed NSOs
| * | | | | | patch_manager: Add support for dumping decompressed NSOsGravatar Zach Hilman2018-10-292-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When enabled in settings, PatchNSO will dump the unmodified NSO that it was passed to a file named <build id>.nso in the dump root for the current title ID.
| * | | | | | settings: Add setting to control NSO dumpingGravatar Zach Hilman2018-10-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
| * | | | | | bis_factory: Add getter for mod dump root for a title IDGravatar Zach Hilman2018-10-294-6/+33
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Equates to yuzu_dir/dump/<title id>/
* | | | | | Merge pull request #1691 from lioncash/audrenGravatar bunnei2018-11-151-3/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate
| * | | | | service/audren_u: Forward RequestUpdateAuto through the same function as ↵Gravatar Lioncash2018-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RequestUpdate Based off RE, they both currently go through the same codepath with no difference in behavior.
* | | | | | Merge pull request #1697 from lioncash/accGravatar bunnei2018-11-142-15/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | acc/profile_manager: Minor cleanup-related changes
| * | | | | | profile_manager: Replace iterative loop with a ranged-for loop in ↵Gravatar Lioncash2018-11-141-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ParseUserSaveFile()
| * | | | | | profile_manager: Move UUID Format function definitions into the cpp fileGravatar Lioncash2018-11-142-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids relying on fmt always being indirectly included.
* | | | | | | Merge pull request #1696 from lioncash/acc-condGravatar bunnei2018-11-141-2/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | service/acc: Correct error case within TrySelectUserWithoutInteraction()
| * | | | | | | service/acc: Correct error case within TrySelectUserWithoutInteraction()Gravatar Lioncash2018-11-141-2/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | empty() in this case will always return false, since the returned container is a std::array. Instead, check if all given users are invalid before returning the error code.
* | | | | | | Merge pull request #1690 from lioncash/nfpGravatar bunnei2018-11-141-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nfp: Correct erroneous sizeof expression within GetTagInfo()