mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-03 09:29:50 +00:00
Tidy the 8080 test configuration class a little.
This commit is contained in:
parent
9dcaaadf80
commit
0313037d6f
@ -1,8 +0,0 @@
|
|||||||
#include "stdafx.h"
|
|
||||||
#include "Configuration.h"
|
|
||||||
|
|
||||||
Configuration::Configuration()
|
|
||||||
: m_debugMode(false),
|
|
||||||
m_profileMode(false),
|
|
||||||
m_romDirectory("roms") {
|
|
||||||
}
|
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
class Configuration {
|
class Configuration {
|
||||||
public:
|
public:
|
||||||
Configuration();
|
Configuration() = default;
|
||||||
|
|
||||||
bool isDebugMode() const {
|
bool isDebugMode() const {
|
||||||
return m_debugMode;
|
return m_debugMode;
|
||||||
@ -33,8 +33,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_debugMode;
|
bool m_debugMode = false;
|
||||||
bool m_profileMode;
|
bool m_profileMode = false;
|
||||||
|
std::string m_romDirectory = "roms";
|
||||||
std::string m_romDirectory;
|
|
||||||
};
|
};
|
||||||
|
@ -150,7 +150,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="Board.cpp" />
|
<ClCompile Include="Board.cpp" />
|
||||||
<ClCompile Include="Configuration.cpp" />
|
|
||||||
<ClCompile Include="stdafx.cpp">
|
<ClCompile Include="stdafx.cpp">
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
|
@ -28,9 +28,6 @@
|
|||||||
<ClCompile Include="Board.cpp">
|
<ClCompile Include="Board.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="Configuration.cpp">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="test.cpp">
|
<ClCompile Include="test.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
Loading…
Reference in New Issue
Block a user