Disable randomness in the automation for consistency

This commit is contained in:
Lior Halphon 2018-07-20 12:35:15 +03:00
parent ce80acc818
commit 538038e49c
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@
#include <Core/gb.h> #include <Core/gb.h>
/* Disable all randomness during automatic tests */
long random(void)
{
return 0;
}
static bool running = false; static bool running = false;
static char *filename; static char *filename;
static char *bmp_filename; static char *bmp_filename;