mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Correct CheckForFrameBufferTexture:
if found buffer is CFB - remove it. Buffers renderd by CPU can't be used as texture frame buffer. Fixed excitebike64: black textures (regression) #345
This commit is contained in:
parent
272af69077
commit
5ccf6ee60a
5
gDP.cpp
5
gDP.cpp
|
@ -383,6 +383,11 @@ bool CheckForFrameBufferTexture(u32 _address, u32 _bytes)
|
||||||
bRes = false;
|
bRes = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pBuffer->m_cfb) {
|
||||||
|
frameBufferList().removeBuffer(pBuffer->m_startAddress);
|
||||||
|
bRes = false;
|
||||||
|
}
|
||||||
|
|
||||||
if ((config.generalEmulation.hacks & hack_noDepthFrameBuffers) != 0 && pBuffer->m_isDepthBuffer) {
|
if ((config.generalEmulation.hacks & hack_noDepthFrameBuffers) != 0 && pBuffer->m_isDepthBuffer) {
|
||||||
frameBufferList().removeBuffer(pBuffer->m_startAddress);
|
frameBufferList().removeBuffer(pBuffer->m_startAddress);
|
||||||
bRes = false;
|
bRes = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user