diff options
Diffstat (limited to 'src/control.h')
| -rw-r--r-- | src/control.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/control.h b/src/control.h index a625853..db5ee93 100644 --- a/src/control.h +++ b/src/control.h @@ -33,4 +33,12 @@ bool control_paused(void); // is inactive this simply runs a full frame like the plain emulator loop. void control_run_frame(GB *gb); +// If a recording is active (see the `record` command), append the frame just +// produced by control_run_frame() to the capture file. No-op otherwise. +void control_record_frame(GB *gb); + +// If a movie is playing (see the `input play` command), set this frame's joypad +// state from it. Call once per loop iteration *before* control_run_frame(). +void control_input_frame(GB *gb); + #endif |
