EightBit/Z80/test/Configuration.h
Adrian Conlon 679275e930 Correct Linux build errors.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2018-12-01 16:41:39 +00:00

40 lines
608 B
C++

#pragma once
#include <string>
#include <Register.h>
class Configuration final {
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;
}
const 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";
};