From cc86ccf4011dd470bd43a8bba8795e25136f1e6f Mon Sep 17 00:00:00 2001 From: gbc dev Date: Thu, 16 Jul 2026 15:44:57 +0200 Subject: main: --shot with --headless dumps final LCD on exit Lets scripted runs feed stdin to the serial console AND capture the resulting screen, e.g. printf 'ls\nexit\n' | gbc rom.gb --headless --shot 0 out.ppm Previously --shot ran frames with no stdin, so anything waiting on input (a shell) only showed its first prompt. --- src/ppu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ppu.c') diff --git a/src/ppu.c b/src/ppu.c index 16ecc2e..381c306 100644 --- a/src/ppu.c +++ b/src/ppu.c @@ -1,3 +1,4 @@ +#include #include "ppu.h" #include -- cgit v1.3.1-sl0p