mirror of https://github.com/bsnes-emu/bsnes.git
Disable randomness in the automation for consistency
This commit is contained in:
parent
ce80acc818
commit
538038e49c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue