Files
2022-10-26 12:25:11 +08:00

50 lines
593 B
C++

#include "stdafx.h"
#include "VMOp.Units.h"
#include "VMOpCPU.h"
//¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬
//
IVMOpPPU::IVMOpPPU()
{
}
IVMOpPPU::~IVMOpPPU()
{
}
BOOL IVMOpPPU::DoInit()
{
return TRUE;
}
BOOL IVMOpPPU::DoProcess()
{
if( !m_bEnabled )
return TRUE;
m_bEnabled = FALSE;
return TRUE;
}
BOOL IVMOpPPU::IsComplete()
{
return FALSE;
}
BOOL IVMOpPPU::DoRelease()
{
return TRUE;
}
// Control Interface
VOID IVMOpPPU::OnMsg( eMOLASIG_MSG* pSIG_MSG )
{
if( SIGMSG::NOTIFY_HEARTBEAT == pSIG_MSG->_TYPE )
{
m_bEnabled = TRUE;
}
}