public interface ScanlineCycleListener
API.addScanlineCycleListener().| Modifier and Type | Method and Description |
|---|---|
void |
cyclePerformed(int scanline,
int scanlineCycle,
int address,
boolean rendering)
Invoked during the scanline and cycle specified in
API.addScanlineCycleListener(). |
void cyclePerformed(int scanline,
int scanlineCycle,
int address,
boolean rendering)
API.addScanlineCycleListener().scanline - The scanline index. -1 indicates the pre-render scanline.scanlineCycle - The scanline cycle index (the dot number), a value in
the range [0, 340].address - The PPU Memory address accessed during the scanline cycle.rendering - true if and only if the scanline index is
less-than 240 and either background or sprite rendering has been enabled
by writing to the PPUMASK register ($2001).Copyright © 2017 nintaco.com
Nintaco is free software; you can redistribute it and/or modify it under the terms of LGPLv2.1.