Skip to content

Commit

Permalink
seed using SDL_GetPerformanceCounter() instead of SDL_GetTicks()
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Mar 20, 2021
1 parent 731ba6f commit 5b774c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libmodplug/modplug.c
Expand Up @@ -7,12 +7,12 @@
#include "modplug.h"
#include "libmodplug.h"

void ModPlug_Quit(void) { /* does nothing. */ }

void ModPlug_Quit(void) {
}
int ModPlug_Init(void)
{
init_modplug_filters();
SDL_srand(SDL_GetTicks());
SDL_srand(SDL_GetPerformanceCounter());
return 1;
}

Expand Down

0 comments on commit 5b774c1

Please sign in to comment.