Fixed last-minute compiler warning.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2950 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2014-07-01 13:43:19 +00:00
parent 6bba77e3d6
commit 979417bd00
2 changed files with 8 additions and 8 deletions

View File

@ -195,7 +195,7 @@ void CartridgeDPCPlusWidget::saveOldState()
myOldState.mwaves.clear(); myOldState.mwaves.clear();
myOldState.internalram.clear(); myOldState.internalram.clear();
for(int i = 0; i < 8; ++i) for(uInt32 i = 0; i < 8; ++i)
{ {
myOldState.tops.push_back(myCart.myTops[i]); myOldState.tops.push_back(myCart.myTops[i]);
myOldState.bottoms.push_back(myCart.myBottoms[i]); myOldState.bottoms.push_back(myCart.myBottoms[i]);
@ -204,7 +204,7 @@ void CartridgeDPCPlusWidget::saveOldState()
myOldState.fracinc.push_back(myCart.myFractionalIncrements[i]); myOldState.fracinc.push_back(myCart.myFractionalIncrements[i]);
myOldState.param.push_back(myCart.myParameter[i]); myOldState.param.push_back(myCart.myParameter[i]);
} }
for(int i = 0; i < 3; ++i) for(uInt32 i = 0; i < 3; ++i)
{ {
myOldState.mcounters.push_back(myCart.myMusicCounters[i]); myOldState.mcounters.push_back(myCart.myMusicCounters[i]);
myOldState.mfreqs.push_back(myCart.myMusicFrequencies[i]); myOldState.mfreqs.push_back(myCart.myMusicFrequencies[i]);
@ -213,7 +213,7 @@ void CartridgeDPCPlusWidget::saveOldState()
myOldState.random = myCart.myRandomNumber; myOldState.random = myCart.myRandomNumber;
for(int i = 0; i < internalRamSize(); ++i) for(uInt32 i = 0; i < internalRamSize(); ++i)
myOldState.internalram.push_back(myCart.myDisplayImage[i]); myOldState.internalram.push_back(myCart.myDisplayImage[i]);
} }

View File

@ -139,19 +139,19 @@ void CartridgeDPCWidget::saveOldState()
myOldState.flags.clear(); myOldState.flags.clear();
myOldState.music.clear(); myOldState.music.clear();
for(int i = 0; i < 8; ++i) for(uInt32 i = 0; i < 8; ++i)
{ {
myOldState.tops.push_back(myCart.myTops[i]); myOldState.tops.push_back(myCart.myTops[i]);
myOldState.bottoms.push_back(myCart.myBottoms[i]); myOldState.bottoms.push_back(myCart.myBottoms[i]);
myOldState.counters.push_back(myCart.myCounters[i]); myOldState.counters.push_back(myCart.myCounters[i]);
myOldState.flags.push_back(myCart.myFlags[i]); myOldState.flags.push_back(myCart.myFlags[i]);
} }
for(int i = 0; i < 3; ++i) for(uInt32 i = 0; i < 3; ++i)
myOldState.music.push_back(myCart.myMusicMode[i]); myOldState.music.push_back(myCart.myMusicMode[i]);
myOldState.random = myCart.myRandomNumber; myOldState.random = myCart.myRandomNumber;
for(int i = 0; i < internalRamSize(); ++i) for(uInt32 i = 0; i < internalRamSize(); ++i)
myOldState.internalram.push_back(myCart.myDisplayImage[i]); myOldState.internalram.push_back(myCart.myDisplayImage[i]);
} }