mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Remove majora hack when interlaced mode changes.
The hack is currently breaking the bomber's notebook.
This commit is contained in:
parent
deaf61299f
commit
0c4a86b8c6
|
@ -84,13 +84,10 @@ void VI_UpdateSize()
|
||||||
FrameBufferList & fbList = frameBufferList();
|
FrameBufferList & fbList = frameBufferList();
|
||||||
FrameBuffer * pBuffer = fbList.findBuffer(VI.lastOrigin);
|
FrameBuffer * pBuffer = fbList.findBuffer(VI.lastOrigin);
|
||||||
DepthBuffer * pDepthBuffer = pBuffer != nullptr ? pBuffer->m_pDepthBuffer : nullptr;
|
DepthBuffer * pDepthBuffer = pBuffer != nullptr ? pBuffer->m_pDepthBuffer : nullptr;
|
||||||
if (config.frameBufferEmulation.enable && ((config.generalEmulation.hacks & hack_ZeldaMM) == 0) &&
|
if (config.frameBufferEmulation.enable &&
|
||||||
((interlacedPrev != VI.interlaced) ||
|
((interlacedPrev != VI.interlaced) ||
|
||||||
(VI.width > 0 && VI.width != VI.widthPrev) ||
|
(VI.width > 0 && VI.width != VI.widthPrev) ||
|
||||||
(!VI.interlaced && pDepthBuffer != nullptr && pDepthBuffer->m_width != VI.width)
|
(!VI.interlaced && pDepthBuffer != nullptr && pDepthBuffer->m_width != VI.width))) {
|
||||||
)
|
|
||||||
|
|
||||||
) {
|
|
||||||
fbList.removeBuffers(VI.widthPrev);
|
fbList.removeBuffers(VI.widthPrev);
|
||||||
fbList.removeBuffers(VI.width);
|
fbList.removeBuffers(VI.width);
|
||||||
depthBufferList().destroy();
|
depthBufferList().destroy();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user