Cleanup some whitespace issues.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3254 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2016-01-23 18:16:09 +00:00
parent 143b22baec
commit ed766b5bb2
47 changed files with 81 additions and 86 deletions

View File

@ -102,7 +102,7 @@ void EventHandlerSDL2::pollEvent()
handleJoyEvent(myEvent.jbutton.which, myEvent.jbutton.button,
myEvent.jbutton.state == SDL_PRESSED ? 1 : 0);
break;
}
}
case SDL_JOYAXISMOTION:
{

View File

@ -337,7 +337,7 @@ bool TIADebug::collision(int collID, int newVal)
}
return myTIA.myCollision & mask;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt8 TIADebug::audC0(int newVal)

View File

@ -153,11 +153,8 @@ void CartridgeCMWidget::saveOldState()
myOldState.column = myCart.column();
myOldState.internalram.clear();
for(uInt32 i = 0; i < this->internalRamSize();i++)
{
myOldState.internalram.push_back(myCart.myRAM[i]);
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -97,7 +97,7 @@ void AtariVox::write(DigitalPin pin, bool value)
default:
break;
}
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -134,7 +134,7 @@ bool Cartridge0840::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Cartridge0840::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in

View File

@ -92,14 +92,14 @@ bool Cartridge2K::poke(uInt16, uInt8)
{
// This is ROM so poking has no effect :-)
return false;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Cartridge2K::patch(uInt16 address, uInt8 value)
{
myImage[address & myMask] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* Cartridge2K::getImage(int& size) const

View File

@ -151,7 +151,7 @@ bool Cartridge3E::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Cartridge3E::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
if(bank < 256)
@ -249,7 +249,7 @@ bool Cartridge3E::patch(uInt16 address, uInt8 value)
myImage[(address & 0x07FF) + mySize - 2048] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* Cartridge3E::getImage(int& size) const

View File

@ -119,7 +119,7 @@ bool Cartridge3F::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Cartridge3F::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Make sure the bank they're asking for is reasonable
@ -173,7 +173,7 @@ bool Cartridge3F::patch(uInt16 address, uInt8 value)
myImage[(address & 0x07FF) + mySize - 2048] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* Cartridge3F::getImage(int& size) const

View File

@ -196,7 +196,7 @@ bool Cartridge4A50::poke(uInt16 address, uInt8 value)
myLastAddress = address & 0x1fff;
return myBankChanged;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt8 Cartridge4A50::getAccessFlags(uInt16 address) const
@ -362,7 +362,7 @@ bool Cartridge4A50::patch(uInt16 address, uInt8 value)
myImage[(address & 0xff) + 0x1ff00] = value;
}
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* Cartridge4A50::getImage(int& size) const

View File

@ -64,14 +64,14 @@ bool Cartridge4K::poke(uInt16, uInt8)
{
// This is ROM so poking has no effect :-)
return false;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Cartridge4K::patch(uInt16 address, uInt8 value)
{
myImage[address & 0x0FFF] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* Cartridge4K::getImage(int& size) const

View File

@ -96,7 +96,7 @@ uInt8 Cartridge4KSC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[address & 0x0FFF];
}
@ -126,7 +126,7 @@ bool Cartridge4KSC::patch(uInt16 address, uInt8 value)
myImage[address & 0xFFF] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* Cartridge4KSC::getImage(int& size) const

View File

@ -450,7 +450,7 @@ bool CartridgeAR::patch(uInt16 address, uInt8 value)
{
// TODO - add support for debugger
return false;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeAR::getImage(int& size) const

View File

@ -122,7 +122,7 @@ bool CartridgeBF::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeBF::getImage(int& size) const

View File

@ -101,7 +101,7 @@ uInt8 CartridgeBFSC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -179,7 +179,7 @@ bool CartridgeBFSC::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeBFSC::getImage(int& size) const

View File

@ -182,7 +182,7 @@ bool CartridgeCM::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeCM::getImage(int& size) const

View File

@ -237,7 +237,7 @@ bool CartridgeCTY::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeCTY::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -282,7 +282,7 @@ bool CartridgeCTY::patch(uInt16 address, uInt8 value)
myImage[myCurrentBank + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeCTY::getImage(int& size) const

View File

@ -128,11 +128,9 @@ uInt8 CartridgeCV::peek(uInt16 address)
triggerReadFromWritePort(address);
return myRAM[address & 0x03FF] = value;
}
}
}
else
{
return myImage[address & 0x07FF];
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -161,7 +159,7 @@ bool CartridgeCV::patch(uInt16 address, uInt8 value)
myImage[address & 0x07FF] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeCV::getImage(int& size) const

View File

@ -110,7 +110,7 @@ uInt8 CartridgeCVPlus::peek(uInt16 address)
triggerReadFromWritePort(address);
return myRAM[address & 0x03FF] = value;
}
}
}
else
return myImage[(address & 0x07FF) + (myCurrentBank << 11)];
}
@ -197,7 +197,7 @@ bool CartridgeCVPlus::patch(uInt16 address, uInt8 value)
myImage[(address & 0x07FF) + (myCurrentBank << 11)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeCVPlus::getImage(int& size) const

View File

@ -122,7 +122,7 @@ bool CartridgeDF::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeDF::getImage(int& size) const

View File

@ -101,7 +101,7 @@ uInt8 CartridgeDFSC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -179,7 +179,7 @@ bool CartridgeDFSC::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeDFSC::getImage(int& size) const

View File

@ -242,7 +242,7 @@ uInt8 CartridgeDPC::peek(uInt16 address)
{
result = myDisplayImage[2047 - myCounters[index]] & myFlags[index];
break;
}
}
// DFx flag
case 0x07:
@ -369,7 +369,7 @@ bool CartridgeDPC::poke(uInt16 address, uInt8 value)
{
break;
}
}
}
}
else
{
@ -395,7 +395,7 @@ bool CartridgeDPC::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeDPC::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -448,7 +448,7 @@ bool CartridgeDPC::patch(uInt16 address, uInt8 value)
}
else
return false;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeDPC::getImage(int& size) const

View File

@ -118,7 +118,7 @@ bool CartridgeE0::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CartridgeE0::segmentZero(uInt16 slice)
{
{
if(bankLocked()) return;
// Remember the new slice
@ -140,7 +140,7 @@ void CartridgeE0::segmentZero(uInt16 slice)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CartridgeE0::segmentOne(uInt16 slice)
{
{
if(bankLocked()) return;
// Remember the new slice
@ -161,7 +161,7 @@ void CartridgeE0::segmentOne(uInt16 slice)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CartridgeE0::segmentTwo(uInt16 slice)
{
{
if(bankLocked()) return;
// Remember the new slice
@ -187,7 +187,7 @@ bool CartridgeE0::patch(uInt16 address, uInt8 value)
address &= 0x0FFF;
myImage[(myCurrentSlice[address >> 10] << 10) + (address & 0x03FF)] = value;
return true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeE0::getImage(int& size) const

View File

@ -183,7 +183,7 @@ void CartridgeE7::bankRAM(uInt16 bank)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeE7::bank(uInt16 slice)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -269,7 +269,7 @@ bool CartridgeE7::patch(uInt16 address, uInt8 value)
myImage[(myCurrentSlice[address >> 11] << 11) + (address & 0x07FF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeE7::getImage(int& size) const

View File

@ -122,7 +122,7 @@ bool CartridgeEF::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeEF::getImage(int& size) const

View File

@ -99,7 +99,7 @@ uInt8 CartridgeEFSC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -177,7 +177,7 @@ bool CartridgeEFSC::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeEFSC::getImage(int& size) const

View File

@ -136,7 +136,7 @@ bool CartridgeF0::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF0::getImage(int& size) const

View File

@ -82,7 +82,7 @@ bool CartridgeF4::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeF4::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -127,7 +127,7 @@ bool CartridgeF4::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF4::getImage(int& size) const

View File

@ -101,7 +101,7 @@ uInt8 CartridgeF4SC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
// NOTE: This does not handle accessing RAM, however, this function
// should never be called for RAM because of the way page accessing
@ -126,7 +126,7 @@ bool CartridgeF4SC::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeF4SC::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -182,7 +182,7 @@ bool CartridgeF4SC::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF4SC::getImage(int& size) const

View File

@ -122,7 +122,7 @@ bool CartridgeF6::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeF6::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -167,7 +167,7 @@ bool CartridgeF6::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF6::getImage(int& size) const

View File

@ -124,7 +124,7 @@ uInt8 CartridgeF6SC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -169,7 +169,7 @@ bool CartridgeF6SC::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeF6SC::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -225,7 +225,7 @@ bool CartridgeF6SC::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF6SC::getImage(int& size) const

View File

@ -110,7 +110,7 @@ bool CartridgeF8::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeF8::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -155,7 +155,7 @@ bool CartridgeF8::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF8::getImage(int& size) const

View File

@ -114,7 +114,7 @@ uInt8 CartridgeF8SC::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -149,7 +149,7 @@ bool CartridgeF8SC::poke(uInt16 address, uInt8)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeF8SC::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -205,7 +205,7 @@ bool CartridgeF8SC::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeF8SC::getImage(int& size) const

View File

@ -119,7 +119,7 @@ uInt8 CartridgeFA::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -215,7 +215,7 @@ bool CartridgeFA::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeFA::getImage(int& size) const

View File

@ -155,7 +155,7 @@ uInt8 CartridgeFA2::peek(uInt16 address)
triggerReadFromWritePort(peekAddress);
return myRAM[address] = value;
}
}
}
else
return myImage[(myCurrentBank << 12) + address];
}
@ -278,7 +278,7 @@ bool CartridgeFA2::patch(uInt16 address, uInt8 value)
myImage[(myCurrentBank << 12) + address] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeFA2::getImage(int& size) const

View File

@ -127,7 +127,7 @@ bool CartridgeFE::patch(uInt16 address, uInt8 value)
{
myImage[(address & 0x0FFF) + (((address & 0x2000) == 0) ? 4096 : 0)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeFE::getImage(int& size) const

View File

@ -154,7 +154,7 @@ uInt8 CartridgeMC::peek(uInt16 address)
}
}
}
}
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -200,7 +200,7 @@ bool CartridgeMC::poke(uInt16 address, uInt8 value)
myRAM[uInt32((block & 0x3F) << 9) + (address & 0x01FF)] = value;
return true;
}
}
}
return false;
}
@ -223,7 +223,7 @@ bool CartridgeMC::patch(uInt16 address, uInt8 value)
{
// TODO - add support for debugger
return false;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeMC::getImage(int& size) const

View File

@ -110,7 +110,7 @@ bool CartridgeMDM::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeMDM::bank(uInt16 bank)
{
{
if(bankLocked() || myBankingDisabled) return false;
// Remember what bank we're in

View File

@ -121,7 +121,7 @@ bool CartridgeSB::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeSB::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -159,7 +159,7 @@ bool CartridgeSB::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeSB::getImage(int& size) const

View File

@ -123,7 +123,7 @@ bool CartridgeUA::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeUA::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -161,7 +161,7 @@ bool CartridgeUA::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeUA::getImage(int& size) const

View File

@ -267,7 +267,7 @@ bool CartridgeWD::patch(uInt16 address, uInt8 value)
mySegment3[(address & 0x03FF)] = value;
return true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeWD::getImage(int& size) const

View File

@ -107,7 +107,7 @@ bool CartridgeX07::poke(uInt16 address, uInt8 value)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool CartridgeX07::bank(uInt16 bank)
{
{
if(bankLocked()) return false;
// Remember what bank we're in
@ -145,7 +145,7 @@ bool CartridgeX07::patch(uInt16 address, uInt8 value)
{
myImage[(myCurrentBank << 12) + (address & 0x0FFF)] = value;
return myBankChanged = true;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const uInt8* CartridgeX07::getImage(int& size) const

View File

@ -1756,7 +1756,7 @@ Event::Type EventHandler::eventAtIndex(int idx, EventMode mode) const
default:
return Event::NoType;
}
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string EventHandler::actionAtIndex(int idx, EventMode mode) const

View File

@ -72,7 +72,7 @@ void SaveKey::write(DigitalPin pin, bool value)
default:
break;
}
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -412,7 +412,7 @@ void TIATables::buildGRPReflectTable()
r = (r << 1) | ((i & t) ? 0x01 : 0x00);
GRPReflect[i] = r;
}
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -452,7 +452,7 @@ void Dialog::handleMouseMoved(int x, int y, int button)
if (w)
w->handleMouseEntered(button);
_mouseWidget = w;
}
}
if (w && (w->getFlags() & WIDGET_TRACK_MOUSE))
w->handleMouseMoved(x - (w->getAbsX() - _x), y - (w->getAbsY() - _y), button);

View File

@ -27,7 +27,7 @@ void prefsSetString(const char* key, const char* value)
}
void prefsGetString(const char* key, char* value, int size)
{
{
[[Preferences sharedInstance] getString:key:value:size];
}

View File

@ -53,7 +53,7 @@ PropSet::save_prop_set($sys_file, \%sys_propset);
print "\nRun create_props [yN]: ";
chomp ($input = <STDIN>);
if($input eq 'y')
{
{
system("./src/tools/create_props.pl");
}