1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

FrameBufferList::saveBuffer do not create frame buffer if buffer width is too large.

This commit is contained in:
Sergey Lipskiy 2017-03-10 17:16:10 +07:00
parent 7f9a26b881
commit cb1f6e78e3

View File

@ -544,6 +544,9 @@ void FrameBufferList::_createScreenSizeBuffer()
void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _width, bool _cfb)
{
if (_width > 640)
return;
if (config.frameBufferEmulation.enable == 0) {
if (m_list.empty())
_createScreenSizeBuffer();