summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement acc:TrySelectUserWithoutInteractionGravatar David Marcec2018-11-075-3/+25
| | | | Needed for Shantae - Half-Genie Hero - Ultimate Edition!
* Merge pull request #1633 from ogniK5377/reload-inputGravatar bunnei2018-11-052-0/+5
|\ | | | | Fixed HID crash when launching more than 1 game & signaled styleset change event
| * Fixed HID crash when launching more than 1 game & signaled syleset change eventGravatar David Marcec2018-11-022-0/+5
| | | | | | | | This should fix crashes when launching multiple games in yuzu
* | Fix typo in BufferTransformFlagsGravatar Frederic Laing2018-11-041-2/+2
| |
* | Fixed incorrect hwopus assertGravatar David Marcec2018-11-021-1/+1
|/
* Merge pull request #1615 from lioncash/inputGravatar bunnei2018-11-011-1/+2
|\ | | | | configure_system: Contrain profile usernames to 32 characters
| * configure_system: Contrain profile usernames to 32 charactersGravatar Lioncash2018-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1604 from FearlessTobi/port-4369Gravatar bunnei2018-10-312-0/+15
|\ \ | | | | | | Port citra-emu/citra#4369: "compatdb: Use a seperate endpoint for testcase submission"
| * | compatdb: Use a seperate endpoint for testcase submissionGravatar fearlessTobi2018-10-282-0/+15
| | |
* | | service/usb: Update IPdSession's function tableGravatar Lioncash2018-10-301-3/+3
| | | | | | | | | | | | Updated based off information on SwitchBrew.
* | | general: Remove unused boost inclusions where applicableGravatar Lioncash2018-10-302-3/+0
| | | | | | | | | | | | Cleans up unused includes and trims off some dependencies on externals.
* | | global: Use std::optional instead of boost::optional (#1578)Gravatar Frederic L2018-10-3024-144/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Merge pull request #1621 from lioncash/ipcGravatar bunnei2018-10-293-6/+9
|\ \ \ | | | | | | | | hle_ipc: Make GetDomainMessageHeader return a regular pointer
| * | | hle_ipc: Add member function for querying the existence of a domain headerGravatar Lioncash2018-10-293-3/+6
| | | | | | | | | | | | | | | | Gets rid of the need to call the getter and then check for null.
| * | | hle_ipc: Make GetDomainMessageHeader return a regular pointerGravatar Lioncash2018-10-292-3/+3
| | |/ | |/| | | | | | | | | | Nothing requires the shared owner ship here, so we can just return a plain pointer.
* | | core: Make System references const where applicableGravatar Lioncash2018-10-282-3/+3
| | |
* | | core: Add missing const variants of getters for the System classGravatar Lioncash2018-10-282-10/+49
|/ / | | | | | | | | | | 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.
* | Merge pull request #1593 from lioncash/svcGravatar bunnei2018-10-286-35/+128
|\ \ | | | | | | svc: Implement svcGetInfo command 0xF0000002
| * | svc: Localize the GetInfo enum class to the function itselfGravatar Lioncash2018-10-262-32/+31
| | | | | | | | | | | | Nothing from this enum is intended to be used outside of this function.
| * | svc: Implement svcGetInfo command 0xF0000002Gravatar Lioncash2018-10-266-4/+98
| |/ | | | | | | | | | | | | | | | | | | 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; }
* | file_sys/patch_manager: Remove unnecessary if-statements (#1586)Gravatar Frederic L2018-10-281-7/+6
| | | | | | | | | | | | * remove unnecessary if-statements * Addressed feedback
* | Merge pull request #1598 from DeeJayBro/delete-directoryGravatar bunnei2018-10-281-2/+26
|\ \ | | | | | | service/filesystem: Implemented DeleteDirectory & DeleteDirectoryRecursive
| * | service/filesystem: Add DirectoryDelete & DirectoryDeleteRecursivelyGravatar DeeJayBro2018-10-271-2/+26
| |/
* | Merge pull request #1600 from DarkLordZach/nsp-secondary-loader-fixGravatar bunnei2018-10-281-17/+20
|\ \ | | | | | | loader/nsp: Move secondary loader initialization to constructor
| * | loader/nsp: Move secondary loader initialization to constructorGravatar Zach Hilman2018-10-271-17/+20
| |/ | | | | | | Prevents nullptr bug when trying to dump the RomFS of an NSP resulting from secondary_loader not being initialized.
* / key_manager: Use isxdigit instead of isdigit when reading key fileGravatar Zach Hilman2018-10-271-1/+1
|/ | | | 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.
* Merge pull request #1430 from DarkLordZach/remove-promote-dirGravatar bunnei2018-10-2617-95/+1
|\ | | | | vfs: Remove InterpretAsDirectory and related functions
| * vfs: Remove InterpretAsDirectory and related functionsGravatar Zach Hilman2018-10-1917-95/+1
| | | | | | | | 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.
* | Merge pull request #1569 from lioncash/amiiboGravatar bunnei2018-10-252-3/+5
|\ \ | | | | | | yuzu/main: Notify user of loading errors with Amiibo data
| * | yuzu/main: Notify user of loading errors with Amiibo dataGravatar Lioncash2018-10-242-3/+5
| | | | | | | | | | | | | | | We shouldn't silently continue if loading failed, since the general assumption is that no messages showing up implicitly indicates success.
* | | ldr: Partially implement LoadNro.Gravatar bunnei2018-10-251-3/+49
| | | | | | | | | | | | - This is an incomplete implementation. It was tested with Super Mario Party.
* | | process: LoadModule should clear JIT instruction cache.Gravatar bunnei2018-10-251-0/+6
| | |
* | | 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