Emu?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
760 B

/* PlipCore.cpp
*
* Defines an emulation core.
*/
#include "PlipCore.h"
namespace Plip {
PlipCore::PlipCore(PlipAudio *audio, PlipInput *input, PlipVideo *video, PlipConfig *config) {
m_audio = audio;
m_config = config;
m_input = input;
m_video = video;
}
bool PlipCore::GetPaused() const {
return m_paused;
}
long PlipCore::GetStepTime() const {
return m_cycleTime;
}
std::vector<PlipCoreDescription> PlipCore::GetSupportedCores() {
std::vector<PlipCoreDescription> coreList;
for(auto core : m_supportedCores)
coreList.push_back(core);
return coreList;
}
void PlipCore::SetPaused(bool value) {
m_paused = value;
}
}