Restored previous commit

This commit is contained in:
root
2021-05-19 23:16:39 +02:00
parent 5579b6a600
commit 0bd016f580

View File

@@ -1759,7 +1759,7 @@ void emu_loop(void)
// second changed?
if (timestamp_x3 - timestamp_fps_x3 >= ms_to_ticks(1000) * 3)
{
#define FUNKEY_RESYNCHRONIZE_AUDIO_SECS (5*60)
#define FUNKEY_RESYNCHRONIZE_AUDIO_SECS (150)
#ifdef FUNKEY_RESYNCHRONIZE_AUDIO_SECS
static unsigned int last_resync = 0, cur_sec=0;
if(cur_sec++ - last_resync >= FUNKEY_RESYNCHRONIZE_AUDIO_SECS){