Tidy the 8080 test configuration class a little.

This commit is contained in:
Adrian Conlon 2018-11-27 22:19:15 +00:00
parent 9dcaaadf80
commit 0313037d6f
4 changed files with 4 additions and 17 deletions

View File

@ -1,8 +0,0 @@
#include "stdafx.h"
#include "Configuration.h"
Configuration::Configuration()
: m_debugMode(false),
m_profileMode(false),
m_romDirectory("roms") {
}

View File

@ -6,7 +6,7 @@
class Configuration {
public:
Configuration();
Configuration() = default;
bool isDebugMode() const {
return m_debugMode;
@ -33,8 +33,7 @@ public:
}
private:
bool m_debugMode;
bool m_profileMode;
std::string m_romDirectory;
bool m_debugMode = false;
bool m_profileMode = false;
std::string m_romDirectory = "roms";
};

View File

@ -150,7 +150,6 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="Board.cpp" />
<ClCompile Include="Configuration.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>

View File

@ -28,9 +28,6 @@
<ClCompile Include="Board.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Configuration.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="test.cpp">
<Filter>Source Files</Filter>
</ClCompile>