fs: revise allocation-fail result names

This commit is contained in:
Michael Scire
2022-03-13 01:51:42 -08:00
parent b7ed9c58bb
commit 82620f95a3
50 changed files with 304 additions and 218 deletions

View File

@@ -24,7 +24,7 @@ namespace ams::fssystem {
/* Set master hash. */
m_master_hash = master_hash;
m_master_hash_storage = std::make_unique<fs::MemoryStorage>(std::addressof(m_master_hash), sizeof(Hash));
R_UNLESS(m_master_hash_storage != nullptr, fs::ResultAllocationFailureInIntegrityRomFsStorageA());
R_UNLESS(m_master_hash_storage != nullptr, fs::ResultAllocationMemoryFailedInIntegrityRomFsStorageA());
/* Set the master hash storage. */
storage_info[0] = fs::SubStorage(m_master_hash_storage.get(), 0, sizeof(Hash));