From 3319c8a084901b90094e6603ea57955b7412dd77 Mon Sep 17 00:00:00 2001 From: dborth Date: Thu, 27 May 2010 21:08:02 +0000 Subject: [PATCH] A/V changes --- source/gcaudio.cpp | 1 + source/gcvideo.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/source/gcaudio.cpp b/source/gcaudio.cpp index 0b766f2..6cd96b4 100644 --- a/source/gcaudio.cpp +++ b/source/gcaudio.cpp @@ -84,6 +84,7 @@ void InitialiseAudio() { #ifdef NO_SOUND AUDIO_Init (NULL); + AUDIO_SetDSPSampleRate(AI_SAMPLERATE_48KHZ); AUDIO_RegisterDMACallback(AudioSwitchBuffers); #else ASND_Init(); diff --git a/source/gcvideo.cpp b/source/gcvideo.cpp index 3fccb0a..bf69d11 100644 --- a/source/gcvideo.cpp +++ b/source/gcvideo.cpp @@ -212,6 +212,9 @@ void setFrameTimer() void SyncSpeed() { + if((vmode_60hz && normaldiff == 16667) || (!vmode_60hz && normaldiff == 20000)) + return; // same timing as game - no adjustment necessary + now = gettime(); u32 diff = diff_usec(prev, now);