summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Kernel/Memory: Added a function to first a suitable guest address at which ↵Gravatar bunnei2018-10-252-0/+28
| | | | | | | | | | | | to allocate a region of a given size.
* | | nro: Make LoadNro method accessible outside of apploader code.Gravatar bunnei2018-10-252-6/+18
| | |
* | | ips_layer: Use rle_size instead of data_size in RLE patch applicationGravatar Zach Hilman2018-10-251-1/+1
| | | | | | | | | | | | Prevents a potential bug when using RLE records in an IPS patch.
* | | Merge pull request #1579 from lioncash/usbGravatar bunnei2018-10-251-21/+22
|\ \ \ | | | | | | | | service/usb: Update service function tables
| * | | service/usb: Update service function tablesGravatar Lioncash2018-10-241-21/+22
| | | | | | | | | | | | | | | | Updated based off the information provided by Hexkyz on Switchbrew.
* | | | Merge pull request #1576 from lioncash/acc-warnGravatar bunnei2018-10-251-25/+27
|\ \ \ \ | | | | | | | | | | service/acc: Silence compiler truncation warnings
| * | | | service/acc: Move fallback image to file scopeGravatar Lioncash2018-10-241-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just flat data, so it doesn't really need to be in the function itself. This also allows deduplicating the constant for the backup size in GetImageSize().
| * | | | service/acc: Silence compiler warningsGravatar Lioncash2018-10-241-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Silences compiler warnings related to truncation. This also introduces a small helper function to perform the clamping of the image size.
| * | | | service/acc: Early return in failure case in LoadImage()Gravatar Lioncash2018-10-241-8/+8
| |/ / / | | | | | | | | | | | | Allows unindenting the other branch's code.
* | | | Merge pull request #1577 from lioncash/errGravatar bunnei2018-10-255-34/+16
|\ \ \ \ | | | | | | | | | | kernel/error: Amend error return code values
| * | | | kernel/errors: Remove now-unused, unnecessary, error codesGravatar Lioncash2018-10-242-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we've gotten the innaccurate error codes out of the way, we can finally toss away a bunch of these, trimming down the error codes to ones that are actually used and knocking out two TODO comments.
| * | | | kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ↵Gravatar Lioncash2018-10-241-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ERR_INVALID_COMBINATION This is more consistent with what the kernel does.
| * | | | kernel/server_port: Simplify emptiness check within ShouldWait()Gravatar Lioncash2018-10-241-1/+1
| | | | |
| * | | | kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUNDGravatar Lioncash2018-10-242-3/+1
| | | | | | | | | | | | | | | | | | | | This is what the kernel does in this instance.
| * | | | kernel/error: Remove leftover 3DS error codesGravatar Lioncash2018-10-241-5/+0
| | | | | | | | | | | | | | | | | | | | These are now entirely unused and can be removed.
| * | | | kernel/svc: Amend returned error code for invalid priorities in CreateThreadGravatar Lioncash2018-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Like with the previous change, the kernel doesn't return NOT_AUTHORIZED here. It returns INVALID_THREAD_PRIORITY.
| * | | | kernel/svc: Move and correct returned error code for invalid thread ↵Gravatar Lioncash2018-10-241-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | priorities in SetThreadPriority() All priority checks are supposed to occur before checking the validity of the thread handle, we're also not supposed to return ERR_NOT_AUTHORIZED here.
| * | | | kernel/error: Add error code for invalid pointersGravatar Lioncash2018-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The kernel appears to return 0xE601 for this situation. Particularly in svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
| * | | | kernel/error: Add error code for closed sessionsGravatar Lioncash2018-10-241-1/+3
| |/ / / | | | | | | | | | | | | The kernel appears to return 0xF601 for this case.
* | | | Merge pull request #1570 from lioncash/optionalGravatar bunnei2018-10-243-43/+48
|\ \ \ \ | | | | | | | | | | profile_manager: Use std::optional instead of boost::optional
| * | | | profile_manager: Use std::optional instead of boost::optionalGravatar Lioncash2018-10-243-43/+48
| |/ / / | | | | | | | | | | | | | | | | Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
* | | | Merge pull request #1564 from lioncash/npadGravatar bunnei2018-10-241-2/+3
|\ \ \ \ | | | | | | | | | | npad: Remove unused controller variable from OnInit()
| * | | | npad: Remove unused controller variable from OnInit()Gravatar Lioncash2018-10-241-2/+3
| | |/ / | |/| | | | | | | | | | | | | | This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
* | | | Merge pull request #1563 from lioncash/frameGravatar bunnei2018-10-241-4/+0
|\ \ \ \ | | | | | | | | | | perf_stats: Remove unused variable within DoFrameLimiting()
| * | | | perf_stats: Remove unused variable within DoFrameLimiting()Gravatar Lioncash2018-10-241-4/+0
| |/ / / | | | | | | | | | | | | This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
* | | | Merge pull request #1562 from lioncash/aocGravatar bunnei2018-10-241-3/+3
|\ \ \ \ | | | | | | | | | | aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
| * | | | aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() functionGravatar Lioncash2018-10-241-3/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just call the function instead of duplicating the code here. This also prevents an unused function warning. We also don't need to take the lambda capture by reference. It's just a u64 value, so by value is fine here.
* | | | Merge pull request #1561 from lioncash/fsGravatar bunnei2018-10-242-3/+6
|\ \ \ \ | |_|/ / |/| | | file_sys: Remove unused variables
| * | | vfs: Handle failure of file reading within VfsRawCopy()Gravatar Lioncash2018-10-241-2/+6
| | | | | | | | | | | | | | | | Also gets rid of an unused variable.
| * | | key_manager: Remove unused variable in DeriveBase()Gravatar Lioncash2018-10-241-1/+0
| |/ /
* | | Merge pull request #1468 from DarkLordZach/profile-manager-uiGravatar Mat M2018-10-245-30/+227
|\ \ \ | |/ / |/| | qt: Add UI to manage emulated user profiles
| * | profile_manager: Create save data if it doesn't exist on useGravatar Zach Hilman2018-10-232-13/+37
| | |
| * | acc: Fix account UUID duplication errorGravatar Zach Hilman2018-10-234-17/+47
| | |
| * | configure_system: Clear selection after user deleteGravatar Zach Hilman2018-10-231-1/+1
| | |
| * | profile_manager: Load user icons, names, and UUIDs from system saveGravatar Zach Hilman2018-10-235-28/+129
| | |
| * | acc: Load user images from config dirGravatar Zach Hilman2018-10-231-9/+45
| | |
| * | am: Pass current user UUID to launch parametersGravatar Zach Hilman2018-10-231-7/+9
| | |
| * | profile_manager: Load users from emulator settingsGravatar Zach Hilman2018-10-232-5/+7
| | |
| * | settings: Add users and current_user settings and remove usernameGravatar Zach Hilman2018-10-231-1/+3
| | |
* | | Merge pull request #1551 from ogniK5377/improved-svcbreakGravatar bunnei2018-10-231-5/+51
|\ \ \ | |/ / |/| | Added break types to svcBreak
| * | Added assertion failed, reworked logging levelsGravatar David Marcec2018-10-231-16/+24
| | |
| * | Added break types to svcBreakGravatar David Marcec2018-10-231-4/+42
| | | | | | | | | | | | There seems to be more such as type 1, and 2. Unsure what these currently are but when a game hits them we can investigate and add the rest
* | | Added Amiibo support (#1390)Gravatar David2018-10-234-50/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Merge pull request #1515 from DarkLordZach/dlc-lfsGravatar bunnei2018-10-234-5/+29
|\ \ \ | | | | | | | | patch_manager: Add support for LayeredFS on DLC RomFS
| * | | qt: Add support for dumping a DLC Data RomFSGravatar Zach Hilman2018-10-172-0/+5
| | | |
| * | | registered_cache: Deduplicate results of ListEntry and ListEntryFilterGravatar Zach Hilman2018-10-172-2/+16
| | | | | | | | | | | | | | | | Prevents a Entry from appearing in the list twice if the user has it installed in two places (e.g. User NAND and SDMC)
| * | | fsp_srv: Apply patches to Data storage in OpenDataStorageByDataIdGravatar Zach Hilman2018-10-171-1/+5
| | | |
| * | | patch_manager: Add support for using LayeredFS with DataGravatar Zach Hilman2018-10-171-2/+3
| | | |
* | | | Merge pull request #1540 from lioncash/handleGravatar bunnei2018-10-238-98/+95
|\ \ \ \ | |_|/ / |/| | | kernel/process: Make the handle table per-process
| * | | kernel/process: Make the handle table per-processGravatar Lioncash2018-10-208-98/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.