core/systems/ForwardSys.cpp
changeset 585 6d3a0ec864fe
parent 584 1b10d3504e9e
child 589 5c1dd0ca6191
     1.1 --- a/core/systems/ForwardSys.cpp	Wed Mar 07 18:24:09 2007 +0000
     1.2 +++ b/core/systems/ForwardSys.cpp	Wed Mar 07 18:37:41 2007 +0000
     1.3 @@ -434,7 +434,7 @@
     1.4  	return SP_ERROR_NONE;
     1.5  }
     1.6  
     1.7 -int CForward::PushCellByRef(cell_t *cell)
     1.8 +int CForward::PushCellByRef(cell_t *cell, int flags)
     1.9  {
    1.10  	if (m_curparam < m_numparams)
    1.11  	{
    1.12 @@ -452,13 +452,13 @@
    1.13  		m_params[m_curparam].pushedas = Param_CellByRef;
    1.14  	}
    1.15  
    1.16 -	_Int_PushArray(cell, 1, SM_PARAM_COPYBACK);
    1.17 +	_Int_PushArray(cell, 1, flags);
    1.18  	m_curparam++;
    1.19  
    1.20  	return SP_ERROR_NONE;
    1.21  }
    1.22  
    1.23 -int CForward::PushFloatByRef(float *num)
    1.24 +int CForward::PushFloatByRef(float *num, int flags)
    1.25  {
    1.26  	if (m_curparam < m_numparams)
    1.27  	{
    1.28 @@ -476,7 +476,7 @@
    1.29  		m_params[m_curparam].pushedas = Param_FloatByRef;
    1.30  	}
    1.31  
    1.32 -	_Int_PushArray((cell_t *)num, 1, SM_PARAM_COPYBACK);
    1.33 +	_Int_PushArray((cell_t *)num, 1, flags);
    1.34  	m_curparam++;
    1.35  
    1.36  	return SP_ERROR_NONE;