mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-19 12:27:48 +00:00
decoders: correct block calculation
This commit is contained in:
parent
9abe6fcdfa
commit
18322c1369
7 changed files with 41 additions and 29 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue