mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-22 09:30:32 +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 {
|
||||
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";
|
||||
};
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user