2017-06-05 16:31:21 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2017-09-06 23:55:06 +00:00
|
|
|
#include <Register.h>
|
2017-06-05 16:31:21 +00:00
|
|
|
|
|
|
|
class Configuration {
|
|
|
|
public:
|
2018-11-27 22:19:15 +00:00
|
|
|
Configuration() = default;
|
2017-06-05 16:31:21 +00:00
|
|
|
|
|
|
|
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 {
|
2018-06-15 23:55:32 +00:00
|
|
|
return 0x100;
|
2017-06-05 16:31:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
2018-11-27 22:19:15 +00:00
|
|
|
bool m_debugMode = false;
|
|
|
|
bool m_profileMode = false;
|
|
|
|
std::string m_romDirectory = "roms";
|
2017-06-05 16:31:21 +00:00
|
|
|
};
|