Added new debugger controller widgets for VS, and fixed an error when converting an 8-bit hex value into a 4-bit one. Granted, I was calling the method incorrectly, but it's strange that Windows and Linux have different behaviour for snprintf.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2938 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2014-06-30 00:31:36 +00:00
parent e3cc672368
commit 10283cb75b
3 changed files with 17 additions and 1 deletions

View File

@ -230,7 +230,7 @@ void CartRamWidget::fillGrid(bool updateOld)
buf[2] = buf[3] = 'x';
myRamStart->setLabel(buf);
for(uInt32 row = 0; row < myNumRows; ++row, page += 0x10)
myRamLabels[row]->setLabel(Common::Base::toString(page, Common::Base::F_16_1));
myRamLabels[row]->setLabel(Common::Base::toString(page>>4, Common::Base::F_16_1));
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -228,6 +228,7 @@
<ClCompile Include="..\common\tv_filters\atari_ntsc.c" />
<ClCompile Include="..\common\tv_filters\NTSCFilter.cxx" />
<ClCompile Include="..\common\ZipHandler.cxx" />
<ClCompile Include="..\debugger\gui\AtariVoxWidget.cxx" />
<ClCompile Include="..\debugger\gui\BoosterWidget.cxx" />
<ClCompile Include="..\debugger\gui\Cart0840Widget.cxx" />
<ClCompile Include="..\debugger\gui\Cart2KWidget.cxx" />
@ -271,6 +272,7 @@
<ClCompile Include="..\debugger\gui\KeyboardWidget.cxx" />
<ClCompile Include="..\debugger\gui\PaddleWidget.cxx" />
<ClCompile Include="..\debugger\gui\RomListSettings.cxx" />
<ClCompile Include="..\debugger\gui\SaveKeyWidget.cxx" />
<ClCompile Include="..\emucore\Cart4KSC.cxx" />
<ClCompile Include="..\emucore\CartBF.cxx" />
<ClCompile Include="..\emucore\CartBFSC.cxx" />
@ -479,6 +481,7 @@
<ClInclude Include="..\common\tv_filters\NTSCFilter.hxx" />
<ClInclude Include="..\common\Variant.hxx" />
<ClInclude Include="..\common\ZipHandler.hxx" />
<ClInclude Include="..\debugger\gui\AtariVoxWidget.hxx" />
<ClInclude Include="..\debugger\gui\BoosterWidget.hxx" />
<ClInclude Include="..\debugger\gui\Cart0840Widget.hxx" />
<ClInclude Include="..\debugger\gui\Cart2KWidget.hxx" />
@ -525,6 +528,7 @@
<ClInclude Include="..\debugger\gui\NullControlWidget.hxx" />
<ClInclude Include="..\debugger\gui\PaddleWidget.hxx" />
<ClInclude Include="..\debugger\gui\RomListSettings.hxx" />
<ClInclude Include="..\debugger\gui\SaveKeyWidget.hxx" />
<ClInclude Include="..\emucore\Cart4KSC.hxx" />
<ClInclude Include="..\emucore\CartBF.hxx" />
<ClInclude Include="..\emucore\CartBFSC.hxx" />

View File

@ -762,6 +762,12 @@
<ClCompile Include="..\debugger\gui\CartRamWidget.cxx">
<Filter>Source Files\debugger</Filter>
</ClCompile>
<ClCompile Include="..\debugger\gui\AtariVoxWidget.cxx">
<Filter>Source Files\debugger</Filter>
</ClCompile>
<ClCompile Include="..\debugger\gui\SaveKeyWidget.cxx">
<Filter>Source Files\debugger</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\common\Array.hxx">
@ -1538,6 +1544,12 @@
<ClInclude Include="..\debugger\gui\CartRamWidget.hxx">
<Filter>Header Files\debugger</Filter>
</ClInclude>
<ClInclude Include="..\debugger\gui\AtariVoxWidget.hxx">
<Filter>Header Files\debugger</Filter>
</ClInclude>
<ClInclude Include="..\debugger\gui\SaveKeyWidget.hxx">
<Filter>Header Files\debugger</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="stella.ico">