mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
VideoCommon: Fix out-of-bounds and disabled EFB access.
This commit is contained in:
@ -742,7 +742,7 @@ u32 SWEFBInterface::PeekColorInternal(u16 x, u16 y)
|
||||
return value;
|
||||
}
|
||||
|
||||
u32 SWEFBInterface::PeekDepth(u16 x, u16 y)
|
||||
u32 SWEFBInterface::PeekDepthInternal(u16 x, u16 y)
|
||||
{
|
||||
return EfbInterface::GetDepth(x, y);
|
||||
}
|
||||
|
@ -69,6 +69,6 @@ class SWEFBInterface final : public EFBInterfaceBase
|
||||
void PokeDepth(u16 x, u16 y, u32 depth) override;
|
||||
|
||||
u32 PeekColorInternal(u16 x, u16 y) override;
|
||||
u32 PeekDepth(u16 x, u16 y) override;
|
||||
u32 PeekDepthInternal(u16 x, u16 y) override;
|
||||
};
|
||||
} // namespace SW
|
||||
|
Reference in New Issue
Block a user