aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-10-29ns: Implement command 400: GetApplicationControlDataZach Hilman
Returns the raw NACP bytes and the raw icon bytes into a title-provided buffer. Pulls from Registration Cache for control data, returning all zeros should it not exist.
2018-10-29patch_manager: Add support for dumping decompressed NSOsZach Hilman
When enabled in settings, PatchNSO will dump the unmodified NSO that it was passed to a file named <build id>.nso in the dump root for the current title ID.
2018-10-29settings: Add setting to control NSO dumpingZach Hilman
Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
2018-10-29bis_factory: Add getter for mod dump root for a title IDZach Hilman
Equates to yuzu_dir/dump/<title id>/
2018-10-29fsp_srv: Implement ISaveDataInfoReaderZach Hilman
An object to read SaveDataInfo objects, which describe a unique save on the system. This implementation iterates through all the directories in the save data space and uses the paths to reconstruct the metadata.
2018-10-29fsp_srv: Implement command 61: OpenSaveDataInfoReaderBySaveDataSpaceIdZach Hilman
Needed by Checkpoint. Returns an object that can iterate through all savedata on the system.
2018-10-29savedata_factory: Expose accessors for SaveDataSpaceZach Hilman
2018-10-29loader/nro: Call RegisterRomFS from LoadZach Hilman
Allows NRO homebrew to use the RomFS in the ASET section.
2018-10-29control_metadata: Add GetRawBytes function to NACPZach Hilman
Returns the raw bytes of the NACP file. Needed for GetApplicationControlData which returns the raw, unprocessed NACP to the game.
2018-10-28core: Make System references const where applicableLioncash
2018-10-28core: Add missing const variants of getters for the System classLioncash
Many of the Current<Thing> getters (as well as a few others) were missing const qualified variants, which makes it a pain to retrieve certain things from const qualified references to System.
2018-10-28compatdb: Use a seperate endpoint for testcase submissionfearlessTobi
2018-10-28Merge pull request #1593 from lioncash/svcbunnei
svc: Implement svcGetInfo command 0xF0000002
2018-10-28file_sys/patch_manager: Remove unnecessary if-statements (#1586)Frederic L
* remove unnecessary if-statements * Addressed feedback
2018-10-28Merge pull request #1598 from DeeJayBro/delete-directorybunnei
service/filesystem: Implemented DeleteDirectory & DeleteDirectoryRecursive
2018-10-28Merge pull request #1600 from DarkLordZach/nsp-secondary-loader-fixbunnei
loader/nsp: Move secondary loader initialization to constructor
2018-10-27key_manager: Use isxdigit instead of isdigit when reading key fileZach Hilman
Crypto revisions are hex numbers and this function only checks if the string is valid for stoul in base 16, so it should be isxdigit.
2018-10-27loader/nsp: Move secondary loader initialization to constructorZach Hilman
Prevents nullptr bug when trying to dump the RomFS of an NSP resulting from secondary_loader not being initialized.
2018-10-27service/filesystem: Add DirectoryDelete & DirectoryDeleteRecursivelyDeeJayBro
2018-10-26svc: Localize the GetInfo enum class to the function itselfLioncash
Nothing from this enum is intended to be used outside of this function.
2018-10-26svc: Implement svcGetInfo command 0xF0000002Lioncash
This retrieves: if (curr_thread == handle_thread) { result = total_thread_ticks + (hardware_tick_count - last_context_switch_ticks); } else if (curr_thread == handle_thread && sub_id == current_core_index) { result = hardware_tick_count - last_context_switch_ticks; }
2018-10-26Merge pull request #1430 from DarkLordZach/remove-promote-dirbunnei
vfs: Remove InterpretAsDirectory and related functions
2018-10-25Merge pull request #1569 from lioncash/amiibobunnei
yuzu/main: Notify user of loading errors with Amiibo data
2018-10-25ldr: Partially implement LoadNro.bunnei
- This is an incomplete implementation. It was tested with Super Mario Party.
2018-10-25process: LoadModule should clear JIT instruction cache.bunnei
2018-10-25Kernel/Memory: Added a function to first a suitable guest address at which ↵bunnei
to allocate a region of a given size.
2018-10-25nro: Make LoadNro method accessible outside of apploader code.bunnei
2018-10-25ips_layer: Use rle_size instead of data_size in RLE patch applicationZach Hilman
Prevents a potential bug when using RLE records in an IPS patch.
2018-10-25Merge pull request #1579 from lioncash/usbbunnei
service/usb: Update service function tables
2018-10-25Merge pull request #1576 from lioncash/acc-warnbunnei
service/acc: Silence compiler truncation warnings
2018-10-25Merge pull request #1577 from lioncash/errbunnei
kernel/error: Amend error return code values
2018-10-24service/usb: Update service function tablesLioncash
Updated based off the information provided by Hexkyz on Switchbrew.
2018-10-24service/acc: Move fallback image to file scopeLioncash
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().
2018-10-24service/acc: Silence compiler warningsLioncash
Silences compiler warnings related to truncation. This also introduces a small helper function to perform the clamping of the image size.
2018-10-24service/acc: Early return in failure case in LoadImage()Lioncash
Allows unindenting the other branch's code.
2018-10-24Merge pull request #1570 from lioncash/optionalbunnei
profile_manager: Use std::optional instead of boost::optional
2018-10-24Merge pull request #1564 from lioncash/npadbunnei
npad: Remove unused controller variable from OnInit()
2018-10-24Merge pull request #1563 from lioncash/framebunnei
perf_stats: Remove unused variable within DoFrameLimiting()
2018-10-24Merge pull request #1562 from lioncash/aocbunnei
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
2018-10-24Merge pull request #1561 from lioncash/fsbunnei
file_sys: Remove unused variables
2018-10-24kernel/errors: Remove now-unused, unnecessary, error codesLioncash
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.
2018-10-24kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ↵Lioncash
ERR_INVALID_COMBINATION This is more consistent with what the kernel does.
2018-10-24kernel/server_port: Simplify emptiness check within ShouldWait()Lioncash
2018-10-24kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUNDLioncash
This is what the kernel does in this instance.
2018-10-24kernel/error: Remove leftover 3DS error codesLioncash
These are now entirely unused and can be removed.
2018-10-24kernel/svc: Amend returned error code for invalid priorities in CreateThreadLioncash
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED here. It returns INVALID_THREAD_PRIORITY.
2018-10-24kernel/svc: Move and correct returned error code for invalid thread ↵Lioncash
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.
2018-10-24kernel/error: Add error code for invalid pointersLioncash
The kernel appears to return 0xE601 for this situation. Particularly in svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
2018-10-24kernel/error: Add error code for closed sessionsLioncash
The kernel appears to return 0xF601 for this case.
2018-10-24profile_manager: Use std::optional instead of boost::optionalLioncash
Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.