diff --git a/src/emucore/CartBUS.cxx b/src/emucore/CartBUS.cxx index 1cda69022..1facde3de 100644 --- a/src/emucore/CartBUS.cxx +++ b/src/emucore/CartBUS.cxx @@ -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 { diff --git a/src/emucore/CartCDF.cxx b/src/emucore/CartCDF.cxx index 23ed2d577..308448c9a 100644 --- a/src/emucore/CartCDF.cxx +++ b/src/emucore/CartCDF.cxx @@ -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 {