mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-10 21:28:48 -04:00
fermi_2d: Fix surface copy block height.
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user