--- uae/src/md-i386-gcc/support.c 2018/04/24 16:45:38 1.1.1.4 +++ uae/src/md-i386-gcc/support.c 2018/04/24 16:48:07 1.1.1.5 @@ -14,6 +14,7 @@ #include "options.h" #include "machdep/m68k.h" #include "events.h" +#include "custom.h" #ifndef USE_UNDERSCORE #define LARGE_ALIGNMENT ".align 16\n" @@ -253,11 +254,12 @@ static RETSIGTYPE illhandler(int foo) void machdep_init (void) { rpt_available = 1; - fprintf(stderr,"Testing the RDTSC instruction ... "); + fprintf (stderr,"Testing the RDTSC instruction ... "); signal (SIGILL, illhandler); - if(setjmp(catch_test) == 0) read_processor_time(); + if (setjmp (catch_test) == 0) + read_processor_time (); signal (SIGILL, SIG_DFL); - fprintf(stderr,"done.\n"); + fprintf (stderr,"done.\n"); if (! rpt_available) { fprintf (stderr, "Your processor does not support the RDTSC instruction.\n"); return; @@ -275,7 +277,7 @@ void machdep_init (void) usleep (1000000); fprintf (stderr, "ok - %.2f BogoMIPS\n", ((double)best_time / 1000000), best_time); - vsynctime = best_time / 50; + syncbase = best_time; } #endif