MCPcopy Create free account
hub / github.com/badvision/jace / notifyVBLActive

Method notifyVBLActive

src/main/java/jace/state/StateManager.java:397–404  ·  view source on GitHub ↗

Every time the Apple reaches VBL there is a screen update event The rest of the emulator is notified after the video frame was redrawn, so this is the best time to capture the state.

()

Source from the content-addressed store, hash-verified

395 * the best time to capture the state.
396 */
397 public void notifyVBLActive() {
398 frameCounter--;
399 if (frameCounter > 0) {
400 return;
401 }
402 frameCounter = captureFrequency;
403 captureState();
404 }
405
406 @InvokableAction(
407 name = "Rewind",

Callers 1

notifyVBLStateChangedMethod · 0.80

Calls 1

captureStateMethod · 0.95

Tested by

no test coverage detected