Remove config from RSP

This commit is contained in:
zilmar 2015-02-03 05:26:13 +11:00
parent b10487ee07
commit 200807155d
2 changed files with 2 additions and 3 deletions

View File

@ -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; }

View File

@ -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);