mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 17:48:03 +00:00
fermi_2d: Fix surface copy block height.
This commit is contained in:
parent
634fa4a6ad
commit
f2da134385
2 changed files with 7 additions and 2 deletions
|
@ -49,6 +49,11 @@ public:
|
|||
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) |
|
||||
address_low);
|
||||
}
|
||||
|
||||
u32 BlockHeight() const {
|
||||
// The block height is stored in log2 format.
|
||||
return 1 << block_height;
|
||||
}
|
||||
};
|
||||
static_assert(sizeof(Surface) == 0x28, "Surface has incorrect size");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue