mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-09 23:29:25 +01:00
A/V changes
This commit is contained in:
parent
b5e907d219
commit
3319c8a084
@ -84,6 +84,7 @@ void InitialiseAudio()
|
||||
{
|
||||
#ifdef NO_SOUND
|
||||
AUDIO_Init (NULL);
|
||||
AUDIO_SetDSPSampleRate(AI_SAMPLERATE_48KHZ);
|
||||
AUDIO_RegisterDMACallback(AudioSwitchBuffers);
|
||||
#else
|
||||
ASND_Init();
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user