mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Don't save frame buffer with zero width.
This commit is contained in:
parent
7f76bcf555
commit
54ef6f2d0c
2
VI.cpp
2
VI.cpp
|
@ -66,7 +66,7 @@ void VI_UpdateScreen()
|
|||
VI_UpdateSize();
|
||||
OGL_UpdateScale();
|
||||
const u32 size = *REG.VI_STATUS & 3;
|
||||
if (VI.height > 0 && size > G_IM_SIZ_8b)
|
||||
if (VI.height > 0 && size > G_IM_SIZ_8b && _SHIFTR( *REG.VI_H_START, 0, 10 ) > 0)
|
||||
frameBufferList().saveBuffer( *REG.VI_ORIGIN, G_IM_FMT_RGBA, size, *REG.VI_WIDTH, VI.height );
|
||||
}
|
||||
if ((((*REG.VI_STATUS)&3) > 0) && (config.frameBufferEmulation.copyFromRDRAM || bCFB)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user