forked from Ports/perfect_dark
port: make audio run at 60hz again but with smaller frames
this is required to tick music events correctly
This commit is contained in:
1 parent
063df3243d
commit
81c1c206d4
2 files changed
+32
-8
No files matched your search
+1
-4
@@ -235,13 +235,10 @@ void schedStartFrame(OSSched *sc)
|
||||
|
||||
void schedAudioFrame(OSSched *sc)
|
||||
{
|
||||
// audio ticks at 30hz
|
||||
static s32 runFrame = 0;
|
||||
if (!g_SndDisabled && runFrame) {
|
||||
if (!g_SndDisabled) {
|
||||
amgrFrame();
|
||||
audioEndFrame();
|
||||
}
|
||||
runFrame ^= 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user