mirror of https://github.com/stella-emu/stella.git
Fix issues with VS project, minor warning from clang, and autoformat
code.
This commit is contained in:
parent
c198edbe51
commit
e0f7051e5c
|
@ -22,9 +22,9 @@
|
||||||
CartridgeFC::CartridgeFC(const ByteBuffer& image, size_t size,
|
CartridgeFC::CartridgeFC(const ByteBuffer& image, size_t size,
|
||||||
const string& md5, const Settings& settings)
|
const string& md5, const Settings& settings)
|
||||||
: Cartridge(settings, md5),
|
: Cartridge(settings, md5),
|
||||||
|
mySize(size),
|
||||||
myBankOffset(0),
|
myBankOffset(0),
|
||||||
myCurrentBank(0),
|
myCurrentBank(0),
|
||||||
mySize(size),
|
|
||||||
myTargetBank(0)
|
myTargetBank(0)
|
||||||
{
|
{
|
||||||
// Copy the ROM image into my buffer
|
// Copy the ROM image into my buffer
|
||||||
|
|
|
@ -22,6 +22,7 @@ class System;
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
#include "Cart.hxx"
|
#include "Cart.hxx"
|
||||||
|
|
||||||
#ifdef DEBUGGER_SUPPORT
|
#ifdef DEBUGGER_SUPPORT
|
||||||
#include "CartFCWidget.hxx"
|
#include "CartFCWidget.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
@ -160,14 +161,12 @@ private:
|
||||||
// Size of the ROM image
|
// Size of the ROM image
|
||||||
size_t mySize;
|
size_t mySize;
|
||||||
|
|
||||||
|
|
||||||
// Indicates the offset into the ROM image (aligns to current bank)
|
// Indicates the offset into the ROM image (aligns to current bank)
|
||||||
uInt16 myBankOffset;
|
uInt16 myBankOffset;
|
||||||
|
|
||||||
// Indicates which bank is currently active for the first segment
|
// Indicates which bank is currently active for the first segment
|
||||||
uInt16 myCurrentBank;
|
uInt16 myCurrentBank;
|
||||||
|
|
||||||
|
|
||||||
// Target bank defined by writing to $1FF8/9
|
// Target bank defined by writing to $1FF8/9
|
||||||
uInt16 myTargetBank;
|
uInt16 myTargetBank;
|
||||||
|
|
||||||
|
@ -181,4 +180,3 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -436,6 +436,7 @@
|
||||||
<ClCompile Include="..\debugger\gui\CartF8Widget.cxx" />
|
<ClCompile Include="..\debugger\gui\CartF8Widget.cxx" />
|
||||||
<ClCompile Include="..\debugger\gui\CartFA2Widget.cxx" />
|
<ClCompile Include="..\debugger\gui\CartFA2Widget.cxx" />
|
||||||
<ClCompile Include="..\debugger\gui\CartFAWidget.cxx" />
|
<ClCompile Include="..\debugger\gui\CartFAWidget.cxx" />
|
||||||
|
<ClCompile Include="..\debugger\gui\CartFCWidget.cxx" />
|
||||||
<ClCompile Include="..\debugger\gui\CartFEWidget.cxx" />
|
<ClCompile Include="..\debugger\gui\CartFEWidget.cxx" />
|
||||||
<ClCompile Include="..\debugger\gui\CartMDMWidget.cxx" />
|
<ClCompile Include="..\debugger\gui\CartMDMWidget.cxx" />
|
||||||
<ClCompile Include="..\debugger\gui\CartMNetworkWidget.cxx" />
|
<ClCompile Include="..\debugger\gui\CartMNetworkWidget.cxx" />
|
||||||
|
@ -471,6 +472,7 @@
|
||||||
<ClCompile Include="..\emucore\CartDF.cxx" />
|
<ClCompile Include="..\emucore\CartDF.cxx" />
|
||||||
<ClCompile Include="..\emucore\CartDFSC.cxx" />
|
<ClCompile Include="..\emucore\CartDFSC.cxx" />
|
||||||
<ClCompile Include="..\emucore\CartFA2.cxx" />
|
<ClCompile Include="..\emucore\CartFA2.cxx" />
|
||||||
|
<ClCompile Include="..\emucore\CartFC.cxx" />
|
||||||
<ClCompile Include="..\emucore\CartMDM.cxx" />
|
<ClCompile Include="..\emucore\CartMDM.cxx" />
|
||||||
<ClCompile Include="..\emucore\CartMNetwork.cxx" />
|
<ClCompile Include="..\emucore\CartMNetwork.cxx" />
|
||||||
<ClCompile Include="..\emucore\CartE78K.cxx" />
|
<ClCompile Include="..\emucore\CartE78K.cxx" />
|
||||||
|
@ -1142,6 +1144,7 @@
|
||||||
<ClInclude Include="..\debugger\gui\CartF8Widget.hxx" />
|
<ClInclude Include="..\debugger\gui\CartF8Widget.hxx" />
|
||||||
<ClInclude Include="..\debugger\gui\CartFA2Widget.hxx" />
|
<ClInclude Include="..\debugger\gui\CartFA2Widget.hxx" />
|
||||||
<ClInclude Include="..\debugger\gui\CartFAWidget.hxx" />
|
<ClInclude Include="..\debugger\gui\CartFAWidget.hxx" />
|
||||||
|
<ClInclude Include="..\debugger\gui\CartFCWidget.hxx" />
|
||||||
<ClInclude Include="..\debugger\gui\CartFEWidget.hxx" />
|
<ClInclude Include="..\debugger\gui\CartFEWidget.hxx" />
|
||||||
<ClInclude Include="..\debugger\gui\CartMDMWidget.hxx" />
|
<ClInclude Include="..\debugger\gui\CartMDMWidget.hxx" />
|
||||||
<ClInclude Include="..\debugger\gui\CartMNetworkWidget.hxx" />
|
<ClInclude Include="..\debugger\gui\CartMNetworkWidget.hxx" />
|
||||||
|
@ -1183,6 +1186,7 @@
|
||||||
<ClInclude Include="..\emucore\CartDF.hxx" />
|
<ClInclude Include="..\emucore\CartDF.hxx" />
|
||||||
<ClInclude Include="..\emucore\CartDFSC.hxx" />
|
<ClInclude Include="..\emucore\CartDFSC.hxx" />
|
||||||
<ClInclude Include="..\emucore\CartFA2.hxx" />
|
<ClInclude Include="..\emucore\CartFA2.hxx" />
|
||||||
|
<ClInclude Include="..\emucore\CartFC.hxx" />
|
||||||
<ClInclude Include="..\emucore\CartMDM.hxx" />
|
<ClInclude Include="..\emucore\CartMDM.hxx" />
|
||||||
<ClInclude Include="..\emucore\CartMNetwork.hxx" />
|
<ClInclude Include="..\emucore\CartMNetwork.hxx" />
|
||||||
<ClInclude Include="..\emucore\CartE78K.hxx" />
|
<ClInclude Include="..\emucore\CartE78K.hxx" />
|
||||||
|
|
Loading…
Reference in New Issue