aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-11-16file_sys/errors: Get rid of the ErrCodes namespaceLioncash
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.
2018-11-16file_sys/errors: Extract FS-related error codes to file_sys/errors.hLioncash
Keeps filesystem-related error codes in one spot.
2018-11-15Fixed priority switching edge case for handheld (#1675)David
* Fixed priority switching edge case for handheld We accidently used controller index instead of npad id * Moved NPadIdToIndex
2018-11-15Merge pull request #1699 from DarkLordZach/deterministic-rng-3bunnei
csrng: Use random integer distribution instead of raw engine
2018-11-15fsp_srv: Add support for using open source archive if not found in NANDZach Hilman
2018-11-15file_sys: Add framework for synthesizing open source archivesZach Hilman
2018-11-15vfs_vector: Add VFS backend for std::arrayZach Hilman
Allows using constexpr/static const data with VFS.
2018-11-15csrng: Use random integer distribution instead of raw engineZach Hilman
Prevents returning the same value every single call.
2018-11-15Merge pull request #1687 from lioncash/deduplicationbunnei
kernel/thread: Deduplicate scheduler switching code
2018-11-15Merge pull request #1618 from DarkLordZach/dump-nsobunnei
patch_manager: Add support for dumping uncompressed NSOs
2018-11-15Merge pull request #1691 from lioncash/audrenbunnei
service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate
2018-11-15ldr_ro: Implement UnloadNro (command 1)Zach Hilman
Includes actual unmapping and address error checking.
2018-11-15ldr_ro: Fully Implement LoadNro (command 0)Zach Hilman
Includes NRO and BSS error checking, maximum loaded NRO check, NRR hash check, and proper remapping of BSS data.
2018-11-15ldr_ro: Implement UnloadNrr (command 3)Zach Hilman
Includes initialization check, proper address check, alignment check, and actual unloading of a loaded NRR.
2018-11-15ldr_ro: Fully implement LoadNrr (command 2)Zach Hilman
Includes parameter error checking, hash enforcement, initialization check, and max NRR load check.
2018-11-15process: Make MirrorMemory take state to map new memory asZach Hilman
Credits to Subv
2018-11-15pl_u: Resize buffers in shared font data getter to what game requestsZach Hilman
Fixes unmapped spam in SMP and buffer size errors in some other games
2018-11-14Merge pull request #1697 from lioncash/accbunnei
acc/profile_manager: Minor cleanup-related changes
2018-11-14Merge pull request #1696 from lioncash/acc-condbunnei
service/acc: Correct error case within TrySelectUserWithoutInteraction()
2018-11-14service/acc: Correct error case within TrySelectUserWithoutInteraction()Lioncash
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.
2018-11-14profile_manager: Replace iterative loop with a ranged-for loop in ↵Lioncash
ParseUserSaveFile()
2018-11-14profile_manager: Move UUID Format function definitions into the cpp fileLioncash
Avoids relying on fmt always being indirectly included.
2018-11-14Merge pull request #1690 from lioncash/nfpbunnei
nfp: Correct erroneous sizeof expression within GetTagInfo()
2018-11-14Merge pull request #1689 from lioncash/breakbunnei
hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate
2018-11-14Merge pull request #1688 from lioncash/unusedbunnei
service: Mark MakeFunctionString with the [[maybe_unused]] attribute.
2018-11-14Merge pull request #1679 from DarkLordZach/deterministic-rng-2bunnei
svc: Use proper random entropy generation algorithm
2018-11-14nfp: Correct erroneous sizeof expression within GetTagInfo()Lioncash
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.
2018-11-14service/audren_u: Forward RequestUpdateAuto through the same function as ↵Lioncash
RequestUpdate Based off RE, they both currently go through the same codepath with no difference in behavior.
2018-11-14hid/npad: Add missing break in switch statement within ↵Lioncash
Controller_NPad::OnUpdate()
2018-11-14service: Mark MakeFunctionString with the [[maybe_unused]] attribute.Lioncash
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).
2018-11-14kernel/thread: Deduplicate scheduler switching codeLioncash
The code in both places was the same verbatim, so we can extract it to a function to deduplicate the logic.
2018-11-13Merge pull request #1680 from lioncash/membunnei
kernel/process: Migrate heap-related memory management out of the process class and into the vm manager
2018-11-13Merge pull request #1682 from lioncash/audiobunnei
hle/audren_u: Implement Get/SetRenderingTimeLimit
2018-11-13Merge pull request #1608 from DarkLordZach/save-data-readerbunnei
[ns|fsp_srv]: Implement various functions to boot Checkpoint
2018-11-13hle/audren_u: Implement Get/SetRenderingTimeLimitLioncash
These appear to be a basic getter and setter pair, so these are fairly trivial to implement and get out of the way.
2018-11-13vm_manager: Unstub GetTotalHeapUsage()Lioncash
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.
2018-11-13kernel/process: Migrate heap-related memory management out of the process ↵Lioncash
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.
2018-11-13svc: Use proper random entropy generation algorithmZach Hilman
2018-11-13GDBStub improvements:Hedges
- Add FPU support - Fix access to TLS Fix clang-format.
2018-11-12Merge pull request #1670 from DarkLordZach/deterministic-rngbunnei
csrng: Add config option to set RNG seed
2018-11-12Merge pull request #1665 from ogniK5377/GetClockSnapshotbunnei
Implement GetClockSnapshot, ToPosixTime & ToPosixTimeWithMyRule
2018-11-12svc: Return random seed for svcGetInfo RandomEntropyZach Hilman
2018-11-11settings: Add config option to set RNG seedZach Hilman
2018-11-11csrng: Use std::mt19937 engine for random number generationZach Hilman
2018-11-11Merge pull request #1652 from FreddyFunk/static-castbunnei
configure_system: Fix compiler warning
2018-11-10Merge pull request #1656 from ogniK5377/message-queueJames Rowe
Ability to switch between docked and undocked mode in-game
2018-11-10Added maybe_unusedDavid Marcec
2018-11-10Added ToPosixTime & ToPosixTimeWithMyRuleDavid Marcec
Added instead of using a seperate PR to prevent conflicts
2018-11-10Added consts and staticDavid Marcec
2018-11-10Implement GetClockSnapshotDavid Marcec
Needed by megaman 11