aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am
AgeCommit message (Collapse)Author
2019-07-06clang-format fixesMichael Scire
2019-07-06am: Implement GetAccumulatedSuspendedTickValueMichael Scire
2019-07-02file_sys: Rename other ContentRecordType membersBakugo
2019-06-24applets: Pass current process title ID to appletsZach Hilman
Avoids using system accessor to get current process in applet code.
2019-06-24general_frontend: Add documentation for parental controls and ecommerce appletsZach Hilman
2019-06-24web_browser: Only delete temporary directory if it was createdZach Hilman
Prevents crashes with ShopN applet occasionally.
2019-06-24web_browser: Take ECommerce applet frontend optionally in constructorZach Hilman
If it is needed but wasn't passed (or passed nullptr), the Shop handling code will alert and throw an error.
2019-06-24web_browser: Use function tables for execute and initializeZach Hilman
Allows easy handling of multiple shim types, as they have enough in common to be the same backend but not enough to share init/exec.
2019-06-24web_browser: Correct structures and properly parse TLVs/ShimKindZach Hilman
Much, much more HW-accurate and allows us to easily support all of the different web 'shim' types.
2019-06-24applets: Track ECommerce and Parental Control applet frontendsZach Hilman
2019-06-24applets: Implement Auth applet backendZach Hilman
This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
2019-06-21Merge pull request #2482 from DarkLordZach/prepobunnei
core: Add detailed local reporting feature for development
2019-06-16Signalled accumulated_suspended_tick_changed_event on creation based on REDavid Marcec
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & ↵David Marcec
Partial impl of GetAccumulatedSuspendedTickChangedEvent IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
2019-06-12common/hex_util: Combine HexVectorToString() and HexArrayToString()Lioncash
These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays.
2019-06-05Merge pull request #2526 from lioncash/globalZach Hilman
core/telemetry_session: Remove usages of the global system accessor
2019-06-05Merge pull request #2510 from SciresM/desired_languageZach Hilman
Implement/Fix IApplicationFunctions::GetDesiredLanguage
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-29core/core: Remove unnecessary includesLioncash
The contents of these includes aren't used anywhere in this translation unit.
2019-05-26loader: Move NSO module tracking to AppLoaderZach Hilman
Also cleanup of general stuff
2019-05-25applets/error: Save report on error appletZach Hilman
This matches official behavior with the erpt/eclct/eupld service chain.
2019-05-25applets: Save report on stubbed appletZach Hilman
This also reworks the applet data storage to be peekable.
2019-05-23Implement IApplicationFunctions::GetDesiredLanguageMichael Scire
2019-05-19Merge pull request #2487 from lioncash/service-returnHexagon12
service/am: Add missing return in error case for IStorageAccessor's Read/Write()
2019-05-18service/am: Add missing return in error case for IStorageAccessor's ↵Lioncash
Read()/Write(). Previously this would fall through and return successfully, despite being an out of bounds read or write.
2019-05-18core/kernel/object: Rename ResetType enum membersLioncash
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore.
2019-04-25mii_manager: Fix incorrect loop condition in mii UUID generation codeZach Hilman
2019-04-25profile_select: Port Service::Account::UUID to Common::UUIDZach Hilman
2019-04-17web_browser: Make OpenPage non-constZach Hilman
2019-04-17main: Add GMainWindow hooks for Error displayZach Hilman
2019-04-17general_backend: Move StubApplet and add backend PhotoViewerZach Hilman
2019-04-17applets: Add Error appletZach Hilman
Responsible for displaying error codes and messages
2019-04-17applets: Port current applets to take frontend in constructorZach Hilman
As opposed to using Core::System::GetInstance()
2019-04-17am: Delegate applet creation to AppletManagerZach Hilman
2019-04-17applets: Add AppletManager class to control lifetimeZach Hilman
2019-04-11service: Update service function tablesLioncash
Updates function tables based off information from SwitchBrew.
2019-04-09Merge pull request #1957 from DarkLordZach/title-providerbunnei
file_sys: Provide generic interface for accessing game data
2019-04-04hle/service: Resolve unused variable warningsLioncash
In several places, we have request parsers where there's nothing to really parse, simply because the HLE function in question operates on buffers. In these cases we can just remove these instances altogether. In the other cases, we can retrieve the relevant members from the parser and at least log them out, giving them some use.
2019-04-03Merge pull request #2328 from lioncash/transferbunnei
service/am: Correct behavior of CreateTransferMemoryStorage()
2019-04-03service/am: Correct behavior of CreateTransferMemoryStorage()Lioncash
For whatever reason, shared memory was being used here instead of transfer memory, which (quite clearly) will not work based off the name of the function. This corrects this wonky usage of shared memory.
2019-03-27patch_manager: Dump NSO name with build IDZach Hilman
2019-03-26game_list: Register content with ContentProviderZach Hilman
2019-03-26service/am: Implement EnterFatalSection and LeaveFatalSectionLioncash
These functions act in tandem similar to how a lock or mutex require a balanced lock()/unlock() sequence. EnterFatalSection simply increments a counter for how many times it has been called, while LeaveFatalSection ensures that a previous call to EnterFatalSection has occured. If a previous call has occurred (the counter is not zero), then the counter gets decremented as one would expect. If a previous call has not occurred (the counter is zero), then an error code is returned.
2019-03-26service/am: Sort ISelfController's member functions according to table orderLioncash
Makes the declaration order of the handling functions consistent with the handler table itself.
2019-03-21service/am: Add function table for IDebugFunctionsLioncash
We already have the service related stuff set up for this, however, it's missing the function table.
2019-03-18service/am: Add basic implementation of ChangeMainAppletMasterVolumeLioncash
All this does is supply a new volume level and a fade time in nanoseconds for the volume transition to occur within.
2019-03-18service/am: Unstub SetTransparentVolumeRate()Lioncash
Like the other volume setter, this mainly just sets a data member within the service, nothing too special.
2019-03-18service/am: Unstub SetExpectedMasterVolume()Lioncash
This function passes in the desired main applet and library applet volume levels. We can then just pass those values back within the relevant volume getter functions, allowing us to unstub those as well. The initial values for the library and main applet volumes differ. The main applet volume is 0.25 by default, while the library applet volume is initialized to 1.0 by default in the services themselves.
2019-03-05core/hle/ipc: Remove unnecessary includesLioncash
Removes a few inclusion dependencies from the headers or replaces existing ones with ones that don't indirectly include the required headers. This allows removing an inclusion of core/memory.h, meaning that if the memory header is ever changed in the future, it won't result in rebuilding the entirety of the HLE services (as the IPC headers are used quite ubiquitously throughout the HLE service implementations).
2019-02-05service/nvflinger,service/vi: Handle failure cases with exposed APILioncash
Converts many of the Find* functions to return a std::optional<T> as opposed to returning the raw return values directly. This allows removing a few assertions and handles error cases like the service itself does.