mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-23 15:29:24 +00:00
679275e930
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
40 lines
608 B
C++
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";
|
|
};
|