decoders: correct block calculation

This commit is contained in:
Fernando Sahmkow
2019-06-13 16:41:16 -04:00
committed by ReinUsesLisp
parent 3dd7643214
commit 7232a1ed16
7 changed files with 41 additions and 29 deletions

View File

@ -84,15 +84,15 @@ public:
}
u32 BlockWidth() const {
return block_width;
return block_width.Value();
}
u32 BlockHeight() const {
return block_height;
return block_height.Value();
}
u32 BlockDepth() const {
return block_depth;
return block_depth.Value();
}
};
static_assert(sizeof(Surface) == 0x28, "Surface has incorrect size");