aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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.
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()