mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 16:44:22 -04:00
strat: revise fs unsupported operation results, add overflow utils
This commit is contained in:
parent
ba4e7c5866
commit
11e4bed199
31 changed files with 265 additions and 142 deletions
|
@ -303,7 +303,7 @@ namespace ams::fssystem {
|
|||
static_cast<fs::QueryRangeInfo *>(dst)->Clear();
|
||||
R_SUCCEED();
|
||||
default:
|
||||
R_THROW(fs::ResultUnsupportedOperationInLocalFileA());
|
||||
R_THROW(fs::ResultUnsupportedOperateRangeForTmFileSystemFile());
|
||||
}
|
||||
}
|
||||
public:
|
||||
|
@ -619,7 +619,7 @@ namespace ams::fssystem {
|
|||
static_cast<fs::QueryRangeInfo *>(dst)->Clear();
|
||||
R_SUCCEED();
|
||||
default:
|
||||
R_THROW(fs::ResultUnsupportedOperationInLocalFileA());
|
||||
R_THROW(fs::ResultUnsupportedOperateRangeForTmFileSystemFile());
|
||||
}
|
||||
}
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue