Merge pull request #99 from LegendOfDragoon/master
Fix RomClosed() issue for RSP #1.1 plugins
This commit is contained in:
commit
11c91e4f8d
|
@ -124,13 +124,15 @@ bool CPlugin::Load (const char * FileName)
|
||||||
|
|
||||||
void CPlugin::RomOpened()
|
void CPlugin::RomOpened()
|
||||||
{
|
{
|
||||||
if (m_RomOpen || RomOpen == NULL)
|
if (m_RomOpen)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
WriteTraceF(PluginTraceType(),__FUNCTION__ "(%s): Before Rom Open",PluginType());
|
if(RomOpen != NULL){
|
||||||
RomOpen();
|
WriteTraceF(PluginTraceType(),__FUNCTION__ "(%s): Before Rom Open",PluginType());
|
||||||
|
RomOpen();
|
||||||
|
WriteTraceF(PluginTraceType(),__FUNCTION__ "(%s): After Rom Open",PluginType());
|
||||||
|
}
|
||||||
m_RomOpen = true;
|
m_RomOpen = true;
|
||||||
WriteTraceF(PluginTraceType(),__FUNCTION__ "(%s): After Rom Open",PluginType());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPlugin::RomClose()
|
void CPlugin::RomClose()
|
||||||
|
|
Loading…
Reference in New Issue