mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-18 20:22:41 +00:00
decoders: correct block calculation
This commit is contained in:
committed by
ReinUsesLisp
parent
3dd7643214
commit
7232a1ed16
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user