Fix issues with VS project, minor warning from clang, and autoformat

code.
This commit is contained in:
Stephen Anthony 2019-11-02 11:03:15 -02:30
parent c198edbe51
commit e0f7051e5c
3 changed files with 118 additions and 116 deletions

View File

@ -22,9 +22,9 @@
CartridgeFC::CartridgeFC(const ByteBuffer& image, size_t size,
const string& md5, const Settings& settings)
: Cartridge(settings, md5),
mySize(size),
myBankOffset(0),
myCurrentBank(0),
mySize(size),
myTargetBank(0)
{
// Copy the ROM image into my buffer

View File

@ -22,6 +22,7 @@ class System;
#include "bspf.hxx"
#include "Cart.hxx"
#ifdef DEBUGGER_SUPPORT
#include "CartFCWidget.hxx"
#endif
@ -160,14 +161,12 @@ private:
// Size of the ROM image
size_t mySize;
// Indicates the offset into the ROM image (aligns to current bank)
uInt16 myBankOffset;
// Indicates which bank is currently active for the first segment
uInt16 myCurrentBank;
// Target bank defined by writing to $1FF8/9
uInt16 myTargetBank;
@ -181,4 +180,3 @@ private:
};
#endif

View File

@ -436,6 +436,7 @@
<ClCompile Include="..\debugger\gui\CartF8Widget.cxx" />
<ClCompile Include="..\debugger\gui\CartFA2Widget.cxx" />
<ClCompile Include="..\debugger\gui\CartFAWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartFCWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartFEWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartMDMWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartMNetworkWidget.cxx" />
@ -471,6 +472,7 @@
<ClCompile Include="..\emucore\CartDF.cxx" />
<ClCompile Include="..\emucore\CartDFSC.cxx" />
<ClCompile Include="..\emucore\CartFA2.cxx" />
<ClCompile Include="..\emucore\CartFC.cxx" />
<ClCompile Include="..\emucore\CartMDM.cxx" />
<ClCompile Include="..\emucore\CartMNetwork.cxx" />
<ClCompile Include="..\emucore\CartE78K.cxx" />
@ -1142,6 +1144,7 @@
<ClInclude Include="..\debugger\gui\CartF8Widget.hxx" />
<ClInclude Include="..\debugger\gui\CartFA2Widget.hxx" />
<ClInclude Include="..\debugger\gui\CartFAWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartFCWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartFEWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartMDMWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartMNetworkWidget.hxx" />
@ -1183,6 +1186,7 @@
<ClInclude Include="..\emucore\CartDF.hxx" />
<ClInclude Include="..\emucore\CartDFSC.hxx" />
<ClInclude Include="..\emucore\CartFA2.hxx" />
<ClInclude Include="..\emucore\CartFC.hxx" />
<ClInclude Include="..\emucore\CartMDM.hxx" />
<ClInclude Include="..\emucore\CartMNetwork.hxx" />
<ClInclude Include="..\emucore\CartE78K.hxx" />