aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2018-11-07Ability to switch between docked and undocked mode in-gameDavid Marcec
Started implementation of the AM message queue mainly used in state getters. Added the ability to switch docked mode whilst in game without stopping emulation. Also removed some things which shouldn't be labelled as stubs as they're implemented correctly
2018-11-07fixed spelling errorDavid Marcec
2018-11-07Added missing logDavid Marcec
2018-11-07Implement acc:TrySelectUserWithoutInteractionDavid Marcec
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
2018-11-06Implement SetMemoryPermissionFrederic Laing
2018-11-05Merge pull request #1633 from ogniK5377/reload-inputbunnei
Fixed HID crash when launching more than 1 game & signaled styleset change event
2018-11-04Fix typo in BufferTransformFlagsFrederic Laing
2018-11-03sm: Implement RegisterService and UnregisterServiceZach Hilman
These are needed by Edizon to boot. They are used to see if a user is using SX OS, as SX OS registers a custom service called 'tx' and attempting to register a service of the same name lets the application know if it is present.
2018-11-03Stubbed SetMemoryPermissionFrederic Laing
2018-11-02Fixed incorrect hwopus assertDavid Marcec
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-01Merge pull request #1615 from lioncash/inputbunnei
configure_system: Contrain profile usernames to 32 characters
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-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-28core: Make System references const where applicableLioncash
2018-10-28Merge pull request #1593 from lioncash/svcbunnei
svc: Implement svcGetInfo command 0xF0000002
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-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-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 #1562 from lioncash/aocbunnei
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
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.