From 5c5b1cd3ae8e5fcf0427400ccf835a63743779c9 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 30 Sep 2016 14:12:41 +0300 Subject: [PATCH] Seems like even 1 second isn't enough for some games. --- Tester/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tester/main.c b/Tester/main.c index 2f861fbc..84cd2e87 100755 --- a/Tester/main.c +++ b/Tester/main.c @@ -98,8 +98,8 @@ static void vblank(GB_gameboy_t *gb) } } - /* Let the test run for an extra second if the screen is off/disabled */ - if (!is_screen_blank || frames >= test_length + 60) { + /* Let the test run for extra four seconds if the screen is off/disabled */ + if (!is_screen_blank || frames >= test_length + 60 * 4) { FILE *f = fopen(bmp_filename, "wb"); fwrite(&bmp_header, 1, sizeof(bmp_header), f); fwrite(&bitmap, 1, sizeof(bitmap), f);