Skip to content

Commit

Permalink
akmenu: initialize sound fill routine
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyran committed May 25, 2020
1 parent 0904e46 commit ddc887f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions romsel_aktheme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "common/dsimenusettings.h"
#include "common/flashcard.h"
#include "common/filecopy.h"

#include "sound.h"
// -- AK End ------------

#include <stdio.h>
Expand Down Expand Up @@ -239,14 +239,15 @@ int main(int argc, char **argv)
wnd->_mainList->enterDir(ms().romfolder[ms().secondaryDevice]);

irq().vblankStart();

snd().beginStream();
while (1)
{
timer().updateFps();
INPUT &inputs = updateInput();
processInput(inputs);
swiWaitForVBlank();
windowManager().update();
snd().updateStream();
gdi().present(GE_MAIN);
}
return 0;
Expand Down

0 comments on commit ddc887f

Please sign in to comment.