#include "jaudio_NES/verysimple.h"
#include "jaudio_NES/audiothread.h"
#include "jaudio_NES/aramcall.h"
#include "jaudio_NES/cmdstack.h"
#include "jaudio_NES/seqsetup.h"
#include "jaudio_NES/connect.h"
#include "jaudio_NES/jammain_2.h"

extern void Jac_Start(void* heap, u32 heap_size, u32 aram_size) {
    StartAudioThread(heap, heap_size, aram_size, AUDIO_THREAD_FLAG_DVD | AUDIO_THREAD_FLAG_AUDIO | AUDIO_THREAD_FLAG_NEOS);
    Jac_WaveDirectorySet("/");
    Jac_PlayInit();
    Jac_Portcmd_Init();
}

extern void Jac_PlayInit(void) {
    Jaq_Reset();
    Jac_ConnectTableInit();
    Jam_InitRegistTrack();
}
