libstrat: fix compilation without pre-compiled header/without lto
This commit is contained in:
1 parent
7ca83c9d3b
commit
e8f1efd01b
37 files changed
+89
-33
No files matched your search
+2
@@ -97,6 +97,8 @@ namespace ams::fssystem {
|
||||
|
||||
Result Initialize(uintptr_t address, size_t size, size_t block_size, s32 order_max, void *work, size_t work_size) {
|
||||
AMS_ASSERT(work_size >= QueryWorkBufferSize(order_max));
|
||||
AMS_UNUSED(work_size);
|
||||
|
||||
const auto aligned_work = util::AlignUp(reinterpret_cast<uintptr_t>(work), alignof(PageList));
|
||||
this->external_free_lists = reinterpret_cast<PageList *>(aligned_work);
|
||||
return this->Initialize(address, size, block_size, order_max);
|
||||
|
||||
+2
@@ -178,10 +178,12 @@ namespace ams::fssystem {
|
||||
AttrInfo *FindAttrInfo(const BufferAttribute &attr);
|
||||
|
||||
s32 GetCacheCountMin(const BufferAttribute &attr) {
|
||||
AMS_UNUSED(attr);
|
||||
return this->cache_count_min;
|
||||
}
|
||||
|
||||
size_t GetCacheSizeMin(const BufferAttribute &attr) {
|
||||
AMS_UNUSED(attr);
|
||||
return this->cache_size_min;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user