mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Don't discard frame buffers creation when VI.height == 0
Fixed auxilary color buffers creation in Pokemon Stadium.
This commit is contained in:
parent
66f7af5a59
commit
5384e189c4
|
@ -336,7 +336,7 @@ FrameBuffer * FrameBufferList::findTmpBuffer(u32 _address)
|
|||
|
||||
void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _width, u16 _height, bool _cfb)
|
||||
{
|
||||
if (VI.width == 0 || VI.height == 0 || _height == 0) // H width is zero. Don't save
|
||||
if (VI.width == 0 || _height == 0)
|
||||
return;
|
||||
OGLVideo & ogl = video();
|
||||
if (m_pCurrent != NULL && gDP.colorImage.height > 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user