2017-06-05 21:39:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2017-09-07 00:04:09 +00:00
|
|
|
#include <Register.h>
|
2017-06-05 21:39:15 +00:00
|
|
|
|
|
|
|
class Configuration {
|
|
|
|
public:
|
2018-08-11 20:19:19 +00:00
|
|
|
Configuration() noexcept;
|
2017-06-05 21:39:15 +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 21:39:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_debugMode;
|
|
|
|
bool m_profileMode;
|
|
|
|
|
|
|
|
std::string m_romDirectory;
|
|
|
|
};
|