public override int ioRead(TPointer outputPointer, int outputLength) { int readLength = base.ioRead(outputPointer, outputLength); if (readLength > 0) { IMemoryReaderWriter memoryReaderWriter = MemoryReaderWriter.getMemoryReaderWriter(outputPointer.Address, readLength, 1); for (int i = 0; i < readLength; i++) { int value = memoryReaderWriter.readCurrent(); value ^= xor; memoryReaderWriter.writeNext(value); } memoryReaderWriter.flush(); } return(readLength); }
public int readCurrent() { return(imageWriter.readCurrent()); }
public int readCurrent() { return(color565to8888(memoryReaderWriter.readCurrent())); }
public void readCurrent(ColorDepth colorDepth) { colorDepth.color = fbWriter.readCurrent(); colorDepth.depth = depthWriter.readCurrent(); }