mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
BPStructs: make copy width/height const
This commit is contained in:
parent
37b80e2170
commit
eb8bfabdfd
@ -249,8 +249,8 @@ static void BPWritten(const BPCmd& bp)
|
|||||||
srcRect.bottom = std::clamp<int>(srcRect.bottom, 0, EFB_HEIGHT);
|
srcRect.bottom = std::clamp<int>(srcRect.bottom, 0, EFB_HEIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 copy_width = srcRect.GetWidth();
|
const u32 copy_width = srcRect.GetWidth();
|
||||||
u32 copy_height = srcRect.GetHeight();
|
const u32 copy_height = srcRect.GetHeight();
|
||||||
|
|
||||||
// Check if we are to copy from the EFB or draw to the XFB
|
// Check if we are to copy from the EFB or draw to the XFB
|
||||||
const UPE_Copy PE_copy = bpmem.triggerEFBCopy;
|
const UPE_Copy PE_copy = bpmem.triggerEFBCopy;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user