Files
ComSquare/sources/APU/Instructions/Standbys.cpp
T
2020-02-11 13:23:57 +01:00

25 lines
254 B
C++

//
// Created by Melefo on 11/02/2020.
//
#include "../APU.hpp"
namespace ComSquare::APU
{
int APU::NOP()
{
return 2;
}
int APU::SLEEP()
{
this->_state = Sleeping;
return 3;
}
int APU::STOP()
{
this->_state = Stopped;
return 3;
}
}