mirror of https://github.com/stella-emu/stella.git
Remove dead code.
This commit is contained in:
parent
51cdc21fa3
commit
2b285060fe
|
@ -660,16 +660,6 @@ uInt32 CartridgeBUS::getDatastreamIncrement(uInt8 index) const
|
|||
(myBUSRAM[DSxINC + index*4 + 3] << 24) ; // high byte
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void CartridgeBUS::setDatastreamIncrement(uInt8 index, uInt32 value)
|
||||
{
|
||||
// index &= 0x0f;
|
||||
myBUSRAM[DSxINC + index*4 + 0] = value & 0xff; // low byte
|
||||
myBUSRAM[DSxINC + index*4 + 1] = (value >> 8) & 0xff;
|
||||
myBUSRAM[DSxINC + index*4 + 2] = (value >> 16) & 0xff;
|
||||
myBUSRAM[DSxINC + index*4 + 3] = (value >> 24) & 0xff; // high byte
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
uInt32 CartridgeBUS::getAddressMap(uInt8 index) const
|
||||
{
|
||||
|
|
|
@ -597,17 +597,6 @@ uInt32 CartridgeCDF::getDatastreamIncrement(uInt8 index) const
|
|||
(myCDFRAM[address + 3] << 24) ; // high byte
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void CartridgeCDF::setDatastreamIncrement(uInt8 index, uInt32 value)
|
||||
{
|
||||
uInt16 address = DSxINC[myVersion] + index * 4;
|
||||
|
||||
myCDFRAM[address + 0] = value & 0xff; // low byte
|
||||
myCDFRAM[address + 1] = (value >> 8) & 0xff;
|
||||
myCDFRAM[address + 2] = (value >> 16) & 0xff;
|
||||
myCDFRAM[address + 3] = (value >> 24) & 0xff; // high byte
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
uInt32 CartridgeCDF::getWaveform(uInt8 index) const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue