aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 541ce44..ecd818e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -137,7 +137,9 @@ int main(int argc, char **argv) {
// Emulate a full frame, honoring debugger pause/step/breakpoints when
// the control socket is active (otherwise a plain full frame).
+ control_input_frame(gb); // drive input from a replay movie if playing
control_run_frame(gb);
+ control_record_frame(gb); // append to the video capture if recording
// decide whether to draw this frame
bool do_render = (since_render >= frameskip);