50 lines
593 B
C++
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;
|
|
}
|
|
}
|
|
|