[Proect64] Reopen gfx plugin if initilized

This commit is contained in:
zilmar 2017-01-23 17:56:56 +11:00
parent bf0ba50dc4
commit 57a221e36f
1 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,12 @@ bool CGfxPlugin::Initiate(CN64System * System, RenderWindow * Window)
if (m_Initialized)
{
Close(Window);
if (PluginOpened)
{
WriteTrace(PluginTraceType(), TraceDebug, "Before Plugin Opened");
PluginOpened();
WriteTrace(PluginTraceType(), TraceDebug, "After Plugin Opened");
}
}
typedef struct