all repos — mgba @ 3e7ea27acbcb206f6637b86b38f85e7bd16bf140

mGBA Game Boy Advance Emulator

Test: Better frame counts
Vicki Pfau vi@endrift.com
Fri, 14 Aug 2020 20:48:32 -0700
commit

3e7ea27acbcb206f6637b86b38f85e7bd16bf140

parent

b07479509478b0d16b3397ee78ef920d91b9b899

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/test/cinema-main.csrc/platform/test/cinema-main.c

@@ -736,7 +736,7 @@ CIerr(0, "Could not open directory for %s\n", testName);

return; } char name[32]; - snprintf(name, sizeof(name), "%s_%04" PRIz "u.png", type, frame); + snprintf(name, sizeof(name), "%s_%05" PRIz "u.png", type, frame); struct VFile* vf = dir->openFile(dir, name, O_CREAT | O_TRUNC | O_WRONLY); if (!vf) { CIerr(0, "Could not open output file %s\n", name);

@@ -977,7 +977,7 @@ }

core->setVideoBuffer(core, image.data, image.stride); mCoreConfigInit(&core->config, "cinema"); - unsigned limit = 9999; + unsigned limit = 3600; unsigned skip = 0; unsigned fail = 0; unsigned video = 0;