Remove config from RSP
This commit is contained in:
parent
b10487ee07
commit
200807155d
|
@ -268,13 +268,13 @@ void CPlugins::Reset ( void )
|
||||||
void CPlugins::ConfigPlugin ( DWORD hParent, PLUGIN_TYPE Type ) {
|
void CPlugins::ConfigPlugin ( DWORD hParent, PLUGIN_TYPE Type ) {
|
||||||
switch (Type) {
|
switch (Type) {
|
||||||
case PLUGIN_TYPE_RSP:
|
case PLUGIN_TYPE_RSP:
|
||||||
if (m_RSP == NULL || m_RSP->Config == NULL) { break; }
|
if (m_RSP == NULL || m_RSP->DllConfig == NULL) { break; }
|
||||||
if (!m_RSP->Initilized()) {
|
if (!m_RSP->Initilized()) {
|
||||||
if (!m_RSP->Initiate(NULL,NULL)) {
|
if (!m_RSP->Initiate(NULL,NULL)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_RSP->Config(hParent);
|
m_RSP->DllConfig(hParent);
|
||||||
break;
|
break;
|
||||||
case PLUGIN_TYPE_GFX:
|
case PLUGIN_TYPE_GFX:
|
||||||
if (m_Gfx == NULL || m_Gfx->DllConfig == NULL) { break; }
|
if (m_Gfx == NULL || m_Gfx->DllConfig == NULL) { break; }
|
||||||
|
|
|
@ -51,7 +51,6 @@ public:
|
||||||
|
|
||||||
bool Initiate(CPlugins * Plugins, CN64System * System);
|
bool Initiate(CPlugins * Plugins, CN64System * System);
|
||||||
|
|
||||||
void (__cdecl *Config) ( DWORD hParent );
|
|
||||||
DWORD(__cdecl *DoRspCycles) (DWORD);
|
DWORD(__cdecl *DoRspCycles) (DWORD);
|
||||||
void(__cdecl *EnableDebugging)(BOOL Enable);
|
void(__cdecl *EnableDebugging)(BOOL Enable);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue