mirror of https://github.com/mgba-emu/mgba.git
Test: Fix replaying baseline for non-GBA
This commit is contained in:
parent
641154b810
commit
ecf4106ea2
|
@ -883,10 +883,10 @@ static void _replayBaseline(struct CInemaTest* test, struct FFmpegEncoder* encod
|
|||
test->status = CI_ERROR;
|
||||
return;
|
||||
}
|
||||
encoder->d.videoDimensionsChanged(&encoder->d, image->width, image->height);
|
||||
|
||||
snprintf(baselineName, sizeof(baselineName), "%s" PATH_SEP "baseline.avi", test->directory);
|
||||
|
||||
|
||||
struct CInemaImage buffer = {
|
||||
.data = NULL,
|
||||
.width = image->width,
|
||||
|
@ -1422,4 +1422,4 @@ int main(int argc, char** argv) {
|
|||
|
||||
cleanup:
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue