[Project64] Always close plugins

This commit is contained in:
zilmar 2018-11-24 13:22:35 +10:30
parent 58305edc8b
commit a22512c9ca
1 changed files with 2 additions and 5 deletions

View File

@ -230,11 +230,8 @@ void CPlugin::Close(RenderWindow * Render)
{
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Start", PluginType());
RomClose(Render);
if (m_Initialized)
{
CloseDLL();
m_Initialized = false;
}
CloseDLL();
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Done", PluginType());
}