fs: DisableAutoSaveDataCreation was removed in 22

This commit is contained in:
Alula
2026-03-17 12:15:03 +01:00
parent 76bceffbd5
commit 26990b3be9
3 changed files with 8 additions and 2 deletions

View File

@@ -42,6 +42,10 @@ namespace ams::fs {
}
void DisableAutoSaveDataCreation() {
if (hos::GetVersion() >= hos::Version_22_0_0) {
return;
}
auto fsp = impl::GetFileSystemProxyServiceObject();
AMS_FS_R_ABORT_UNLESS(fsp->DisableAutoSaveDataCreation());
}