Detect LZ4 files correctly now

This commit is contained in:
2023-04-13 21:51:45 +02:00
parent 37156a1432
commit 30561183fd
3 changed files with 11 additions and 12 deletions

View File

@@ -31,12 +31,12 @@ namespace JabyEngine {
return const_cast<const AutoLBAEntry*>(this)->get_size_in_sectors();
}
constexpr bool isLZ4() const {
constexpr bool is_lz4() const {
return bit::is_set(this->value, AutoLBAEntry::IsLZ4Compressed);
}
constexpr bool isLZ4() const volatile {
return const_cast<const AutoLBAEntry*>(this)->isLZ4();
constexpr bool is_lz4() const volatile {
return const_cast<const AutoLBAEntry*>(this)->is_lz4();
}
};
}