aboutsummaryrefslogtreecommitdiff
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1706 from lioncash/file-errbunnei2018-11-164-33/+16
|\ | | | | file_sys/errors: Clean up error code values
| * file_sys/errors: Remove currently unused filesystem error codesLioncash2018-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 namespaceLioncash2018-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.hLioncash2018-11-164-14/+19
| | | | | | | | Keeps filesystem-related error codes in one spot.
* | Added SetIsPalmaAllConnectable, SetPalmaBoostModeDavid 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)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-3bunnei2018-11-151-1/+2
|\ | | | | csrng: Use random integer distribution instead of raw engine
| * csrng: Use random integer distribution instead of raw engineZach Hilman2018-11-151-1/+2
| | | | | | | | Prevents returning the same value every single call.
* | Merge pull request #1687 from lioncash/deduplicationbunnei2018-11-152-37/+13
|\ \ | | | | | | kernel/thread: Deduplicate scheduler switching code
| * | kernel/thread: Deduplicate scheduler switching codeLioncash2018-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-nsobunnei2018-11-157-7/+48
|\ \ \ | | | | | | | | patch_manager: Add support for dumping uncompressed NSOs
| * | | patch_manager: Add support for dumping decompressed NSOsZach 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 dumpingZach 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 IDZach Hilman2018-10-294-6/+33
| | | | | | | | | | | | | | | | Equates to yuzu_dir/dump/<title id>/
* | | | Merge pull request #1691 from lioncash/audrenbunnei2018-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 ↵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/accbunnei2018-11-142-15/+23
|\ \ \ \ | | | | | | | | | | acc/profile_manager: Minor cleanup-related changes
| * | | | profile_manager: Replace iterative loop with a ranged-for loop in ↵Lioncash2018-11-141-4/+5
| | | | | | | | | | | | | | | | | | | | ParseUserSaveFile()
| * | | | profile_manager: Move UUID Format function definitions into the cpp fileLioncash2018-11-142-11/+18
| | | | | | | | | | | | | | | | | | | | Avoids relying on fmt always being indirectly included.
* | | | | Merge pull request #1696 from lioncash/acc-condbunnei2018-11-141-2/+4
|\ \ \ \ \ | | | | | | | | | | | | service/acc: Correct error case within TrySelectUserWithoutInteraction()
| * | | | | service/acc: Correct error case within TrySelectUserWithoutInteraction()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/nfpbunnei2018-11-141-1/+1
|\ \ \ \ \ | | | | | | | | | | | | nfp: Correct erroneous sizeof expression within GetTagInfo()
| * | | | | nfp: Correct erroneous sizeof expression within GetTagInfo()Lioncash2018-11-141-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous expression would copy sizeof(size_t) amount of bytes (8 on a 64-bit platform) rather than the full 10 bytes comprising the uuid member. Given the source and destination types are the same, we can just use an assignment here instead.
* | | | | Merge pull request #1689 from lioncash/breakbunnei2018-11-141-0/+1
|\ \ \ \ \ | | | | | | | | | | | | hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate
| * | | | | hid/npad: Add missing break in switch statement within ↵Lioncash2018-11-141-0/+1
| |/ / / / | | | | | | | | | | | | | | | Controller_NPad::OnUpdate()
* | | | | Merge pull request #1688 from lioncash/unusedbunnei2018-11-141-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | | service: Mark MakeFunctionString with the [[maybe_unused]] attribute.
| * | | | service: Mark MakeFunctionString with the [[maybe_unused]] attribute.Lioncash2018-11-141-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | When yuzu is compiled in release mode this function is unused, however, when compiled in debug mode, it's used within a LOG_TRACE statement. This prevents erroneous compilation warnings about an unused function (that isn't actually totally unused).
* | | | Merge pull request #1679 from DarkLordZach/deterministic-rng-2bunnei2018-11-144-2/+28
|\ \ \ \ | |_|/ / |/| | | svc: Use proper random entropy generation algorithm
| * | | svc: Use proper random entropy generation algorithmZach Hilman2018-11-134-2/+28
| |/ /
* | | Merge pull request #1680 from lioncash/membunnei2018-11-134-86/+98
|\ \ \ | | | | | | | | kernel/process: Migrate heap-related memory management out of the process class and into the vm manager
| * | | vm_manager: Unstub GetTotalHeapUsage()Lioncash2018-11-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Now that we've moved all of the heap-related stuff to the VMManager class, we can unstub this function, as the necessary members are visible now.
| * | | kernel/process: Migrate heap-related memory management out of the process ↵Lioncash2018-11-134-84/+97
| |/ / | | | | | | | | | | | | | | | | | | class and into the vm manager Avoids a breach of responsibilities in the interface and keeps the direct code for memory management within the VMManager class.
* | | Merge pull request #1682 from lioncash/audiobunnei2018-11-131-2/+23
|\ \ \ | | | | | | | | hle/audren_u: Implement Get/SetRenderingTimeLimit
| * | | hle/audren_u: Implement Get/SetRenderingTimeLimitLioncash2018-11-131-2/+23
| |/ / | | | | | | | | | | | | These appear to be a basic getter and setter pair, so these are fairly trivial to implement and get out of the way.
* | | Merge pull request #1608 from DarkLordZach/save-data-readerbunnei2018-11-1310-16/+260
|\ \ \ | |/ / |/| | [ns|fsp_srv]: Implement various functions to boot Checkpoint
| * | ns: Implement command 400: GetApplicationControlDataZach Hilman2018-10-294-17/+75
| | | | | | | | | Returns the raw NACP bytes and the raw icon bytes into a title-provided buffer. Pulls from Registration Cache for control data, returning all zeros should it not exist.
| * | fsp_srv: Implement ISaveDataInfoReaderZach Hilman2018-10-291-0/+144
| | | | | | | | | | | | An object to read SaveDataInfo objects, which describe a unique save on the system. This implementation iterates through all the directories in the save data space and uses the paths to reconstruct the metadata.
| * | fsp_srv: Implement command 61: OpenSaveDataInfoReaderBySaveDataSpaceIdZach Hilman2018-10-292-1/+13
| | | | | | | | | | | | Needed by Checkpoint. Returns an object that can iterate through all savedata on the system.
| * | savedata_factory: Expose accessors for SaveDataSpaceZach Hilman2018-10-294-14/+32
| | |
| * | loader/nro: Call RegisterRomFS from LoadZach Hilman2018-10-291-0/+5
| | | | | | | | | | | | Allows NRO homebrew to use the RomFS in the ASET section.
| * | control_metadata: Add GetRawBytes function to NACPZach Hilman2018-10-292-0/+7
| |/ | | | | | | Returns the raw bytes of the NACP file. Needed for GetApplicationControlData which returns the raw, unprocessed NACP to the game.
* | Merge pull request #1670 from DarkLordZach/deterministic-rngbunnei2018-11-124-3/+15
|\ \ | | | | | | csrng: Add config option to set RNG seed
| * | svc: Return random seed for svcGetInfo RandomEntropyZach Hilman2018-11-121-1/+2
| | |
| * | settings: Add config option to set RNG seedZach Hilman2018-11-111-0/+2
| | |
| * | csrng: Use std::mt19937 engine for random number generationZach Hilman2018-11-112-2/+11
| | |
* | | Merge pull request #1665 from ogniK5377/GetClockSnapshotbunnei2018-11-123-21/+132
|\ \ \ | |/ / |/| | Implement GetClockSnapshot, ToPosixTime & ToPosixTimeWithMyRule
| * | Added maybe_unusedDavid Marcec2018-11-102-2/+7
| | |
| * | Added ToPosixTime & ToPosixTimeWithMyRuleDavid Marcec2018-11-101-2/+41
| | | | | | | | | | | | Added instead of using a seperate PR to prevent conflicts
| * | Added consts and staticDavid Marcec2018-11-101-6/+6
| | |
| * | Implement GetClockSnapshotDavid Marcec2018-11-103-21/+88
| | | | | | | | | | | | Needed by megaman 11