[Project64] Make sure closeDll is set before calling it
This commit is contained in:
parent
529b162656
commit
6c2c0d5dd6
|
@ -231,7 +231,10 @@ void CPlugin::Close(RenderWindow * Render)
|
||||||
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Start", PluginType());
|
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Start", PluginType());
|
||||||
RomClose(Render);
|
RomClose(Render);
|
||||||
m_Initialized = false;
|
m_Initialized = false;
|
||||||
|
if (CloseDLL != NULL)
|
||||||
|
{
|
||||||
CloseDLL();
|
CloseDLL();
|
||||||
|
}
|
||||||
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Done", PluginType());
|
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Done", PluginType());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue