aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-10-23am: Pass current user UUID to launch parametersZach Hilman
2018-10-23profile_manager: Load users from emulator settingsZach Hilman
2018-10-23settings: Add users and current_user settings and remove usernameZach Hilman
2018-10-23Added Amiibo support (#1390)David
* Fixed conflict with nfp * Few fixups for nfc * Conflict 2 * Fixed AttachAvailabilityChangeEvent * Conflict 3 * Fixed byte padding * Refactored amiibo to not reside in "System" * Removed remaining references of nfc from system * used enum for Nfc GetStateOld * Added missing newline * Moved file operations to front end * Conflict 4 * Amiibos now use structs and added mutexes * Removed amiibo_path
2018-10-23Merge pull request #1515 from DarkLordZach/dlc-lfsbunnei
patch_manager: Add support for LayeredFS on DLC RomFS
2018-10-23Merge pull request #1540 from lioncash/handlebunnei
kernel/process: Make the handle table per-process
2018-10-22Merge pull request #1545 from DarkLordZach/psmbunnei
psm: Add psm service and stub commands 0 and 1
2018-10-22Merge pull request #1538 from lioncash/querybunnei
svc: Fix vma boundary check in svcQueryMemory
2018-10-21psm: Stub GetChargerTypeZach Hilman
Used by LovePotion Lua Homebrew. Stubbed as connected to official Nintendo Switch dock.
2018-10-21service: Add the basic skeleton for the NPNS servicesLioncash
2018-10-21hid: Update service function table for hidbusLioncash
Updated based off information provided by Switchbrew.
2018-10-21am: Add the basic skeleton for the tcap serviceLioncash
Added based off information provided by Switchbrew.
2018-10-21am: Update service function tablesLioncash
Updated based off information from Switchbrew
2018-10-21prepo: Update service function table.Lioncash
Also introduces the new prepo:a2 service. Updated based off information provided by Switchbrew.
2018-10-21lbl: Update service function table namesLioncash
Updated based off information provided by Switchbrew.
2018-10-20psm: Stub GetBatteryChargePercentageZach Hilman
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
2018-10-20service: Add skeleton for psm serviceZach Hilman
Seems to be the power controller. Listed in switchbrew under the category PTM services.
2018-10-20kernel/process: Make the handle table per-processLioncash
In the kernel, there isn't a singular handle table that everything gets tossed into or used, rather, each process gets its own handle table that it uses. This currently isn't an issue for us, since we only execute one process at the moment, but we may as well get this out of the way so it's not a headache later on.
2018-10-20svc: Fix vma boundary check in svcQueryMemoryLioncash
This should be comparing against the queried process' vma_map, not the current process'. The only reason this hasn't become an issue yet is we currently only handle one process being active at any time.
2018-10-20Added auto controller switching to supported controllers and single joycon ↵David Marcec
button rotation This is a subset of the better-hid-2 changes, this fixes input in various games which don't support dual joycons. This pr will search for the next best controller which is supported by the current game
2018-10-19Merge pull request #1520 from lioncash/sanbunnei
svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemory
2018-10-19Merge pull request #1526 from lioncash/svc-idbunnei
service: Update function tables
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-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.