mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Fix typo in FrameBuffer::getTexture
This commit is contained in:
parent
49dd8ff796
commit
21ef068f2a
|
@ -385,7 +385,7 @@ CachedTexture * FrameBuffer::getTexture(u32 _t)
|
|||
const bool getDepthTexture = m_isDepthBuffer &&
|
||||
gDP.colorImage.address == gDP.depthImageAddress &&
|
||||
m_pDepthBuffer != nullptr &&
|
||||
(config.generalEmulation.hacks & hack_ZeldaMM) != 0;
|
||||
(config.generalEmulation.hacks & hack_ZeldaMM) == 0;
|
||||
CachedTexture *pTexture = getDepthTexture ? m_pDepthBuffer->m_pDepthBufferTexture : m_pTexture;
|
||||
|
||||
const u32 shift = (gSP.textureTile[_t]->imageAddress - m_startAddress) >> (m_size - 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user