mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Protect against addressing nullptr
This commit is contained in:
parent
c7144d0775
commit
cf7b3c84ce
|
@ -896,6 +896,7 @@ void gDPFullSync()
|
|||
frameBufferList().updateCurrentBufferEndAddress();
|
||||
|
||||
FrameBuffer * pCurrentBuffer = frameBufferList().getCurrent();
|
||||
if (pCurrentBuffer != nullptr)
|
||||
pCurrentBuffer->copyDepthTexture();
|
||||
if ((config.frameBufferEmulation.copyToRDRAM != Config::ctDisable || (config.generalEmulation.hacks & hack_subscreen) != 0) &&
|
||||
!FBInfo::fbInfo.isSupported() &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user