Skip to content

Commit

Permalink
GetRandomTimeSeed hardcoded to fixed value - SDL timer code
Browse files Browse the repository at this point in the history
should be gone now
  • Loading branch information
Twinaphex committed May 14, 2012
1 parent d46ab23 commit bb8b8c8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/libretro/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "musicplayer.h"
#include "madplayer.h"

#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
Expand Down Expand Up @@ -430,15 +429,10 @@ void I_EndDisplay(void)
/*
* I_GetRandomTimeSeed
*
* CPhipps - extracted from G_ReloadDefaults because it is O/S based
*/
unsigned long I_GetRandomTimeSeed(void)
{
/* killough 3/26/98: shuffle random seed, use the clock */
struct timeval tv;
struct timezone tz;
gettimeofday(&tv,&tz);
return (tv.tv_sec*1000ul + tv.tv_usec/1000ul);
return 0;
}

/* cphipps - I_GetVersionString
Expand Down

0 comments on commit bb8b8c8

Please sign in to comment.