mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-25 13:56:23 +02:00
Fix a few minor warnings.
This commit is contained in:
committed by
greenbagels
parent
8913623338
commit
dcf1ce7f01
@@ -2094,7 +2094,7 @@ bool FramebufferManager::NotifyFramebufferCopy(u32 src, u32 dst, int size, bool
|
||||
const u32 vfb_size = FramebufferByteSize(vfb);
|
||||
const u32 vfb_bpp = vfb->format == GE_FORMAT_8888 ? 4 : 2;
|
||||
const u32 vfb_byteStride = vfb->fb_stride * vfb_bpp;
|
||||
const u32 vfb_byteWidth = vfb->width * vfb_bpp;
|
||||
const int vfb_byteWidth = vfb->width * vfb_bpp;
|
||||
|
||||
if (dst >= vfb_address && (dst + size <= vfb_address + vfb_size || dst == vfb_address)) {
|
||||
const u32 offset = dst - vfb_address;
|
||||
|
||||
Reference in New Issue
Block a user