aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-10-19Merge pull request #1530 from DarkLordZach/aoc-8bunnei
aoc_u: Stub GetAddOnContentListChangedEvent
2018-10-19Merge pull request #1516 from lioncash/hidbunnei
hid: Minor cleanup-related changes
2018-10-19aoc_u: Stub GetAddOnContentListChangedEventZach Hilman
This event signals the game when new DLC is purchased from the eShop while the game is running. Since, for the forseeable future, yuzu will not have this ability, it seems safe to stub with a dummy event that will never fire. This is needed to boot Sonic Mania Plus (update v1.04).
2018-10-19crypto: Use compressed sizes in offset calculation for KIP decompressionZach Hilman
Fixes a fatal crash on start when deriving keys.
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
2018-10-20Stubbed home blockingDavid Marcec
Needed by arms due to new hid rework
2018-10-19es: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19audio: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19omm: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19nifm: Update service function tablesLioncash
Updated based off information provided by switchbrew.
2018-10-19hid: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19nim: Add the basic skeleton of the nim:eca serviceLioncash
Added based off information provided by Switchbrew
2018-10-19ns: Update service function tableLioncash
Updated based off information provided by Switchbrew.
2018-10-19set_cal: Update service function tableLioncash
Updated based on information from Switchbrew.
2018-10-18Merge pull request #1523 from lioncash/lockbunnei
svc: Add missing error checks in svcArbitrateLock/svcArbitrateUnlock
2018-10-18Merge pull request #1511 from lioncash/contentbunnei
content_archive: Minor reorganization changes
2018-10-18Merge pull request #1521 from ogniK5377/imp-mmubunnei
Used better names for mm:u and fixed a bad stub
2018-10-18svc: Check for word alignment of addresses within ↵Lioncash
svcArbitrateLock/svcArbitrateUnlock The kernel itself checks whether or not the provided addresses are word aligned before continuing, so we should be doing the same.
2018-10-18common: Move Is4KBAligned() to alignment.hLioncash
Aligning on 4KB pages isn't a Switch-specific thing, so this can be moved to common so it can be used with other things as well.
2018-10-18core: Remove unnecessary assert in ArmInterface()Lioncash
CpuCore already does this sort of checking, so we can just call that instead of duplicating the assertions.
2018-10-18Merge pull request #1510 from lioncash/xcibunnei
XCI: Add function for checking the existence of the program NCA
2018-10-19Used better names for mm:u and fixed bad stubDavid Marcec
InitializeWithId needs to return an id which is a u32 which should be a non zero value
2018-10-18svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemoryLioncash
Now that the changes clarifying the address spaces has been merged, we can wrap the checks that the kernel performs when mapping shared memory (and other forms of memory) into its own helper function and then use those within MapSharedMemory and UnmapSharedMemory to complete the sanitizing checks that are supposed to be done.
2018-10-17hid/controller: Remove unused header inclusionsLioncash
swap.h only needs to be present in the header for the type aliases and definitions, it's not actually needed in the cpp files though. input.h is just unused entirely in xpad.h
2018-10-17hid/controller/npad: Remove unused dump_idx member variableLioncash
Given it's unused, we may as well toss it.
2018-10-17hid/controller/npad: Remove unnecessary semicolon from the closing brace of ↵Lioncash
LedPattern's constructor
2018-10-17hid/controller/npad: Remove #pragma once from the cpp fileLioncash
This is only useful in headers.
2018-10-17hid/controller/npad: Move npad_id_list into the cpp fileLioncash
This is just a lookup table, and since it's private, there's nothing really stateful about it, so we can just move it into the cpp file.
2018-10-17hid/controller/npad: Remove unnecessary const from void return typeLioncash
This literally does nothing.
2018-10-17hid/controller: Default the destructors of all controller types in the cpp fileLioncash
These classes are non-trivial and are definitely going to be changed in the future, so we default these to prevent issues with forward declarations, and to keep the compiler from inlining tear-down code.
2018-10-17controller_base: Default the base class constructor and destructor in the ↵Lioncash
cpp file The destructor doesn't need to be a pure-virtual function.
2018-10-17Merge pull request #1444 from ogniK5377/better-hidbunnei
"Better Hid" Rework Part 1
2018-10-17Merge pull request #1497 from bunnei/flush-framebuffersbunnei
Implement flushing in the rasterizer cache
2018-10-17Merge pull request #1498 from lioncash/aslrbunnei
svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
2018-10-17qt: Add support for dumping a DLC Data RomFSZach Hilman
2018-10-17Merge pull request #1509 from DarkLordZach/device-save-databunnei
savedata_factory: Add DeviceSaveData and fix TemporaryStorage
2018-10-17registered_cache: Deduplicate results of ListEntry and ListEntryFilterZach Hilman
Prevents a Entry from appearing in the list twice if the user has it installed in two places (e.g. User NAND and SDMC)
2018-10-18Using dual joycons as the default controllerDavid Marcec
Reason for the change is to allow both docked and undocked mode to work
2018-10-17fsp_srv: Apply patches to Data storage in OpenDataStorageByDataIdZach Hilman
2018-10-17patch_manager: Add support for using LayeredFS with DataZach Hilman
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-16content_archive: Simpify assignment of bktr_base_romfs in the constructorLioncash
std::move doesn't actually dereference the data, so it doesn't matter whether or not the type is null.
2018-10-16content_archive: Make IsValidNCA() an internally linked functionLioncash
This is only ever used within the cpp file, so it can just be an internal function.
2018-10-16content_archive: Simplify rights ID checkLioncash
This is the same as using std::any_of with an inverted predicate.
2018-10-16content_archive: Split loading into separate functionsLioncash
The constructor alone is pretty large, the reading code should be split into its consistuent parts to make it easier to understand it without having to build a mental model of a 300+ line function.
2018-10-16content_archive: Pass and take NCASectionHeader instance by referenceLioncash
Each header is 512 bytes in size, which is kind of an excessive amount to copy all the time when it's possible to avoid doing so.
2018-10-16XCI: Add function for checking the existence of the program NCALioncash
The only reason the getter existed was to check whether or not the program NCA was null. Instead, we can just provide a function to query for the existence of it, instead of exposing it entirely.
2018-10-16Merge pull request #1443 from DarkLordZach/lower-loader-logs-1bunnei
content_archive/patch_manager: Lower log levels to eliminate some unnecessary logs
2018-10-16Implement VI ConvertScalingMode (#1475)David
* Implement VI ConvertScalingMode * Fixed push enum * Scale mode now uses Nintendo scale mode as an enum as well
2018-10-16Merge pull request #1502 from lioncash/uniquebunnei
core: Convert shared_ptr instances into unique_ptr instances where applicable for System and Cpu