mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-29 18:18:51 +01:00
Added random seed initialisation for proper random game selection.
This commit is contained in:
parent
6189ba6d05
commit
84d301dd5a
@ -24,12 +24,16 @@
|
||||
#include <cstdlib>
|
||||
#include <fstream>
|
||||
#include <dirent.h>
|
||||
#include <time.h>
|
||||
|
||||
static bool ImportConfiguration(Configuration *c);
|
||||
static bool StartLogging();
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
// Initialize random seed
|
||||
srand( time( NULL ) );
|
||||
|
||||
Configuration::initialize();
|
||||
|
||||
Configuration config;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user