Detect LZ4 files correctly now
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user