mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 02:48:15 -05: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