aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/mii
AgeCommit message (Collapse)Author
2022-10-02service: mii: Copy only valid name bytesgerman77
2022-10-02nfp: Multiple fixes against HWgerman77
2022-10-02service: nfp: Rewrite and implement applet callsgerman77
2022-09-07core: nfp: Correct date and amiibo nameNarr the Reg
2022-09-07core: nfp: Implement Convert and RecreateApplicationArea, accuracy fixesNarr the Reg
2022-06-26core: Replace all instances of ResultCode with Resultgerman77
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-21service: Move mii enums and structs into its own fileMorph
Moves these into types.h, since other files also make use of these types.
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph
This completes the removal of the old UUID implementation.
2022-02-05service: Migrate to the new UUID implementationMorph
2021-11-03core: Remove unused includesameerj
2021-11-02general: Remove MakeResult helpersMorph
This is made obsolete by the presence of implicit constructors.
2021-10-07service: Reduce header include overheadMorph
2021-07-14service: Append service name prefix to common filenamesMorph
2021-07-04service: mii: Retrieve the correct default miis.Morph
We were including the first 2 default miis which are not meant to be shown in games. With this change, we properly retrieve the 6 default miis shown in games, with 3 of each gender.
2021-06-24Add missing includes (#6521)Chloe
* Add missing includes * Add array
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
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-01-20mii: Fix BuildRandomStoreData & Cleanup raw_dataChloe Marcec
Cleaned up mii raw data to reflect the underlying values instead of just a chunk of bytes. Fixed BuildRandomStoreData not actually generating random miis properly. "values" should be a u32, not a u8.
2021-01-15core: Silence Wclass-memaccess warningsReinUsesLisp
This requires making several types trivial and properly initialize them whenever they are called.
2020-11-26service: Eliminate usages of the global system instanceLioncash
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-10-27service: Update function tablesLioncash
Updates function tables according to info on SwitchBrew.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-20Merge pull request #4796 from lioncash/clangLC
core: Fix clang build
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-17mii/manager: Make use of unused lower bound in GetRandomValue()Lioncash
Previously, the lower bound wasn't being used and zero was being used as the lower bound every time this function was called. This affects the outcome of some of the randomized entries a little bit, for example, the lower-bound for beard and mustache flags was supposed to be 1, not 0. Aside from these cases, the bug didn't affect anything else.
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
2020-07-17Merge pull request #4365 from lioncash/miibunnei
mii/manager: Make use of designated initializers
2020-07-16mii/manager: Resolve sign mismatch warningsLioncash
Previously the loop termination condition was testing variables of different signedness.
2020-07-16mii/manager: Make use of designated initializersLioncash
Allows returning the structure in a more concise manner.
2020-07-11hle: service: mii: Rewrite service to properly support creation of random ↵bunnei
and default miis.
2020-01-04core: Initialize several structs that make use of Common::UUID.bunnei
2019-11-24Merge pull request #3094 from lioncash/tablesbunnei
service: Update function tables
2019-11-12service: Update function tablesLioncash
Keeps the function tables up to date. Updated based off information from Switchbrew.
2019-11-12service: Resolve sign conversion errorsLioncash
These are fairly trivial to resolve and most of the changes entail using RESULT_UNKNOWN over ResultCode(-1).
2019-09-04Merge pull request #2708 from DarkLordZach/mii-db-source-crashDavid
mii: Handle logging of unknown database source
2019-07-10mii: Handle logging of unknown database sourceZach Hilman
2019-07-06mii: Implement IDatabaseService SetInterfaceVersionZach Hilman
Appears to set a member variable used to affect the API that games access, and the method used to store data.
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-25mii: Implement Delete and Destroy fileZach Hilman
2019-04-25mii: Implement IsUpdated command (IPC 0)Zach Hilman
2019-04-25mii_manager: Cleanup and optimizationZach Hilman
2019-04-25mii: Implement IDatabaseService commands using MiiManagerZach Hilman
Since the MiiManager was designed around the IPC interface, this is quite easy. Only functions that were clearly defined were implemented.
2019-04-25mii: Add MiiManager class to manage Mii databaseZach Hilman
Provides serialization/deserialization to the database in system save files, accessors for database state and proper handling of both major Mii formats (MiiInfo and MiiStoreData)
2018-07-27service: Add mii servicesLioncash
Adds the skeleton for the mii services based off information provided by Switch Brew