[Project64] Add checks around g_Debugger->FrameDrawn
This commit is contained in:
parent
cfc510880c
commit
03700db740
|
@ -2217,7 +2217,10 @@ void CN64System::RefreshScreen()
|
||||||
{
|
{
|
||||||
WriteTrace(TraceGFXPlugin, TraceDebug, "UpdateScreen Starting");
|
WriteTrace(TraceGFXPlugin, TraceDebug, "UpdateScreen Starting");
|
||||||
g_Plugins->Gfx()->UpdateScreen();
|
g_Plugins->Gfx()->UpdateScreen();
|
||||||
g_Debugger->FrameDrawn();
|
if (g_Debugger != NULL && HaveDebugger())
|
||||||
|
{
|
||||||
|
g_Debugger->FrameDrawn();
|
||||||
|
}
|
||||||
WriteTrace(TraceGFXPlugin, TraceDebug, "UpdateScreen Done");
|
WriteTrace(TraceGFXPlugin, TraceDebug, "UpdateScreen Done");
|
||||||
}
|
}
|
||||||
__except_catch()
|
__except_catch()
|
||||||
|
|
Loading…
Reference in New Issue