aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-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
2018-11-07Merge pull request #1658 from ogniK5377/holdtype-stylebunnei
Updated npad styles on holdtype switches
2018-11-07svcBreak now dumps information from the debug buffer passed (#1646)David
* svcBreak now dumps information from the debug buffer passed info1 and info2 seem to somtimes hold an address to a buffer, this is usually 4 bytes or the size of the int and contains an error code. There's other circumstances where it can be something different so we hexdump these to examine them at a later date. * Addressed comments
2018-11-08Updated npad styles on holdtype switchesDavid Marcec
Fixes input for megaman
2018-11-07FixupsDavid Marcec
2018-11-07Ability to switch between docked and undocked mode in-gameDavid Marcec
Started implementation of the AM message queue mainly used in state getters. Added the ability to switch docked mode whilst in game without stopping emulation. Also removed some things which shouldn't be labelled as stubs as they're implemented correctly
2018-11-07fixed spelling errorDavid Marcec
2018-11-07Added missing logDavid Marcec
2018-11-07Implement acc:TrySelectUserWithoutInteractionDavid Marcec
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
2018-11-06configure_system: Fix compiler warningFrederic Laing
2018-11-06Implement SetMemoryPermissionFrederic Laing
2018-11-05Merge pull request #1633 from ogniK5377/reload-inputbunnei
Fixed HID crash when launching more than 1 game & signaled styleset change event
2018-11-04Fix typo in BufferTransformFlagsFrederic Laing
2018-11-03Stubbed SetMemoryPermissionFrederic Laing
2018-11-02Fixed incorrect hwopus assertDavid Marcec
2018-11-02Fixed HID crash when launching more than 1 game & signaled syleset change eventDavid Marcec
This should fix crashes when launching multiple games in yuzu
2018-11-01filesystem: Cache RegisteredCacheUnion instead of constructing on demandZach Hilman
Prevents unnecessary re-reads of the metadata and unnecessary temporary objects.
2018-11-01file_sys: Use common KeyManager in NCA container typesZach Hilman
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
2018-11-01content_archive: Add optional KeyManager parameter to constructorZach Hilman
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.
2018-11-01Merge pull request #1615 from lioncash/inputbunnei
configure_system: Contrain profile usernames to 32 characters
2018-10-31Merge pull request #1604 from FearlessTobi/port-4369bunnei
Port citra-emu/citra#4369: "compatdb: Use a seperate endpoint for testcase submission"
2018-10-31configure_system: Contrain profile usernames to 32 charactersLioncash
Previously, we would let a user enter an unbounded name and then silently truncate away characters that went over the 32-character limit. This is kind of bad from the UX point of view, because we're essentially not doing what the user intended in certain scenarios. Instead, we clamp it to 32 characters and make that visually apparent in the dialog box to provide a name for a user.
2018-10-30service/usb: Update IPdSession's function tableLioncash
Updated based off information on SwitchBrew.
2018-10-30general: Remove unused boost inclusions where applicableLioncash
Cleans up unused includes and trims off some dependencies on externals.
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
2018-10-29Merge pull request #1621 from lioncash/ipcbunnei
hle_ipc: Make GetDomainMessageHeader return a regular pointer
2018-10-29hle_ipc: Add member function for querying the existence of a domain headerLioncash
Gets rid of the need to call the getter and then check for null.
2018-10-29hle_ipc: Make GetDomainMessageHeader return a regular pointerLioncash
Nothing requires the shared owner ship here, so we can just return a plain pointer.