mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
VideoCommon: Fix out-of-bounds and disabled EFB access.
This commit is contained in:
parent
1981f22228
commit
e351f03cdf
7 changed files with 55 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue