mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 19:27:47 +00:00
textures: Fix texture buffer size calculation
This commit is contained in:
parent
67843df9f6
commit
93a5cdecbb
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ struct TICEntry {
|
|||
if (header_version != TICHeaderVersion::OneDBuffer) {
|
||||
return width_minus_1 + 1;
|
||||
}
|
||||
return (buffer_high_width_minus_one << 16) | buffer_low_width_minus_one;
|
||||
return ((buffer_high_width_minus_one << 16) | buffer_low_width_minus_one) + 1;
|
||||
}
|
||||
|
||||
u32 Height() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue