mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
ams: deduplicate static initialization logic
This commit is contained in:
parent
78f7218c4f
commit
30fac905af
24 changed files with 202 additions and 262 deletions
|
@ -30,6 +30,11 @@ namespace ams::settings::impl {
|
|||
public:
|
||||
SystemData() : m_system_data_id(), m_mount_name(), m_file_path() { /* ... */ }
|
||||
|
||||
SystemData(ncm::SystemDataId id, const char *mn) : SystemData() {
|
||||
this->SetSystemDataId(id);
|
||||
this->SetMountName(mn);
|
||||
}
|
||||
|
||||
void SetSystemDataId(ncm::SystemDataId id);
|
||||
void SetMountName(const char *name);
|
||||
Result Mount();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue