mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
FrameBufferList::saveBuffer do not create frame buffer if buffer width is too large.
This commit is contained in:
parent
7f9a26b881
commit
cb1f6e78e3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user