1.1 --- a/core/systems/CFunction.cpp Wed Dec 13 11:14:25 2006 +0000
1.2 +++ b/core/systems/CFunction.cpp Wed Dec 13 11:16:20 2006 +0000
1.3 @@ -15,7 +15,7 @@
1.4
1.5 int CFunction::CallFunction(const cell_t *params, unsigned int num_params, cell_t *result)
1.6 {
1.7 - IPluginContext *ctx = m_pPlugin->m_ctx_current.base;
1.8 + IPluginContext *ctx = m_pPlugin->m_ctx.base;
1.9
1.10 while (num_params--)
1.11 {
1.12 @@ -79,7 +79,7 @@
1.13 return SetError(SP_ERROR_PARAMS_MAX);
1.14 }
1.15
1.16 - IPluginContext *ctx = m_pPlugin->m_ctx_current.base;
1.17 + IPluginContext *ctx = m_pPlugin->m_ctx.base;
1.18 ParamInfo *info = &m_info[m_curparam];
1.19 int err;
1.20
1.21 @@ -127,7 +127,7 @@
1.22 return SetError(SP_ERROR_PARAMS_MAX);
1.23 }
1.24
1.25 - IPluginContext *base = m_pPlugin->m_ctx_current.base;
1.26 + IPluginContext *base = m_pPlugin->m_ctx.base;
1.27 ParamInfo *info = &m_info[m_curparam];
1.28 size_t cells = (len + sizeof(cell_t) - 1) / sizeof(cell_t);
1.29 int err;
1.30 @@ -174,7 +174,7 @@
1.31 return;
1.32 }
1.33
1.34 - IPluginContext *base = m_pPlugin->m_ctx_current.base;
1.35 + IPluginContext *base = m_pPlugin->m_ctx.base;
1.36
1.37 while (m_curparam--)
1.38 {
1.39 @@ -217,7 +217,7 @@
1.40 docopies = false;
1.41 }
1.42
1.43 - IPluginContext *base = m_pPlugin->m_ctx_current.base;
1.44 + IPluginContext *base = m_pPlugin->m_ctx.base;
1.45
1.46 while (numparams--)
1.47 {