Add fsDeviceOperator* types for IDeviceOperator#730
Add fsDeviceOperator* types for IDeviceOperator#730borntohonk wants to merge 2 commits intoswitchbrew:masterfrom
Conversation
ed4110a to
efbc80a
Compare
|
(intended use currently WIP borntohonk/Atmosphere@0f36778 but related to topic from closed PR linked above) |
|
The scope of what has to be implemented on atmosphere end is the entirity of the IDeviceOperator interface, so the scope has changed a tiny bit |
|
This requires implementing some still undocumented entries within https://switchbrew.org/wiki/Filesystem_services#IDeviceOperator; those ones I am not entirely 100% sure on, but i am checking them with ghidra to cmd 7; SetSdCardActivationMode |
I've added the missing commands to switchbrew. |
upon testing, the current way i have implemented fsDeviceOperatorRegisterGameCardConfigurationData results in (nn::ns::detail::IApplicationManagerInterface:Cmd502, RequestCheckGameCardRegistration ) to crash. (or similar, i am just working with the coincidence of words clashing and whats new as to identify the cause, and since that one is one of the new ones, i'm guessing it has to be that one) so i am going to look over again with the updated information, as I most likely am mishandling RegisterGameCardConfigurationData (or something else) |
helper for cleaner implementation of Atmosphere-NX/Atmosphere#2804 (and to allow the implementation to be more consistent with how other atmosphere IDeviceOperator related things are implemented.)
https://switchbrew.org/wiki/NS_services#GetGameCardPlatformRegion
https://switchbrew.org/wiki/Filesystem_services#GetGameCardHandle
https://switchbrew.org/wiki/Filesystem_services#IDeviceOperator