aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am
AgeCommit message (Collapse)Author
2021-07-20applet_controller: Add preliminary support for version 8Morph
Version 8 adds support for key remapping introduced in FW 11.0, we will not be implementing this for now.
2021-07-15applets/web: Resolve Nintendo CDN URLsMorph
This fixes the hint videos in New Super Mario Bros. U Deluxe
2021-07-14service: Append service name prefix to common filenamesMorph
2021-07-14applets: Append applet_ prefix to backend appletsMorph
2021-06-28general: Make most settings a BasicSettinglat9nq
Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
2021-06-02general: Replace RESULT_UNKNOWN with ResultUnknownMorph
Transition to PascalCase for result names.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-27applets/swkbd: Make use of std::move where applicableMorph
Avoids redundant string copies
2021-05-27applets/swkbd: Only read the text check message on Failure/ConfirmMorph
Applications may leave this region of memory uninitialized when the text check result is not either Failure or Confirm. Attempting to read uninitialized memory may cause an exception within the UTF16 to UTF8 string converter. Fix this by only reading the text check message on Failure or Confirm.
2021-05-25common: fs: Rework the Common Filesystem interface to make use of ↵Morph
std::filesystem (#6270) * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-05-05fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly ↵bunnei
created.
2021-05-05hle: kernel: Rename Process to KProcess.bunnei
2021-05-05hle: kernel: Remove deprecated Object class.bunnei
2021-05-05hle: kernel: Migrate KTransferMemory to KAutoObject.bunnei
2021-05-05hle: kernel: Migrate KSession, KClientSession, and KServerSession to ↵bunnei
KAutoObject.
2021-05-05hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei
2021-05-05hle: kernel: Migrate KEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.bunnei
2021-05-05service: Remove unused class variablesLioncash
Prevents some warnings from occurring.
2021-05-04service: Resolve cases of member field shadowingLioncash
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-04-26service: Eliminate cases of member shadowingLioncash
Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
2021-04-23ICommonStateGetter: Stub ↵Morph
SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled - Used by Pixel Game Maker Series Werewolf Princess Kaguya
2021-04-17applets: Send focus state change message on applet state changeMorph
Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
2021-04-17applets: Make the applet mode a protected property of AppletMorph
2021-04-15applets/swkbd: Implement the Normal and Inline Software Keyboard AppletMorph
2021-04-15ILibraryAppletCreator: Implement CreateHandleStorageMorph
Used by Monster Hunter Generations Ultimate
2021-04-15ILibraryAppletAccessor: Demote from ERROR to DEBUG for null storage logsMorph
Avoids unnecessary console spam when the inline software keyboard is used.
2021-04-15applets: Pass in the LibraryAppletMode each applet's constructorMorph
2021-04-15applets: Remove the previous software keyboard applet implementationMorph
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-04-07ISelfController: Update to 11.xMorph
2021-04-07IApplicationFunctions: Update to 11.xMorph
2021-04-07IDebugFunctions: Update to 12.xMorph
2021-04-07ICommonStateGetter: Update to 12.xMorph
2021-04-07IGlobalStateController: Update to 12.xMorph
2021-04-07IHomeMenuFunctions: Update to 12.xMorph
2021-03-30ISelfController: Stub SetAlbumImageTakenNotificationEnabledMorph
This service call sets an internal flag whether a notification is shown when an image is captured. Currently we do not support capturing images via the capture button, so this can be stubbed for now.
2021-02-13hle: service: am: IStorageAccessor: Fix out of bounds error handling.bunnei
2021-02-11Merge pull request #5902 from lioncash/core-warnbunnei
core: Silence various warnings on Clang 12
2021-02-10software_keyboard: Implement Finalize request commandMorph
2021-02-09am/controller: Remove [[fallthrough]] from unreachable pathLioncash
Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro.
2021-02-06Merge pull request #5326 from german77/hidUpdate1bunnei
HID: Update the HID service to match more closely to switchbrew part 1
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei
2021-02-03Fix npad struct to match switchbrewgerman
2021-02-02IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEventMorph
2021-01-31am/IApplicationFunctions: Stub IsGamePlayRecordingSupportedMorph
Used by RetroArch