EightBit/Intel8080/test/Configuration.h

40 lines
595 B
C
Raw Normal View History

#pragma once
#include <string>
#include <Register.h>
class Configuration {
public:
Configuration() = default;
bool isDebugMode() const {
return m_debugMode;
}
void setDebugMode(bool value) {
m_debugMode = value;
}
bool isProfileMode() const {
return m_profileMode;
}
void setProfileMode(bool value) {
m_profileMode = value;
}
std::string getRomDirectory() const {
return m_romDirectory;
}
EightBit::register16_t getStartAddress() const {
return 0x100;
}
private:
bool m_debugMode = false;
bool m_profileMode = false;
std::string m_romDirectory = "roms";
};