Removed unnecessary undefined_syms entries, fixed some symbol names
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
extern N_ALSynth *D_80276E80;
|
||||
extern N_ALSynth *D_80276E84;
|
||||
extern N_ALSynth *n_syn;
|
||||
|
||||
void n_alInit(N_ALGlobals *g, ALSynConfig *config)
|
||||
{
|
||||
@@ -15,10 +15,10 @@ void n_alInit(N_ALGlobals *g, ALSynConfig *config)
|
||||
|
||||
D_80276E80 = &g->drvr;
|
||||
|
||||
if (D_80276E84 != NULL)
|
||||
if (n_syn != NULL)
|
||||
return;
|
||||
|
||||
D_80276E84 = &g->drvr;
|
||||
n_syn = &g->drvr;
|
||||
|
||||
n_alSynNew(config);
|
||||
}
|
||||
@@ -30,6 +30,6 @@ void n_alClose(N_ALGlobals *glob)
|
||||
n_alSynDelete();
|
||||
|
||||
D_80276E80 = NULL;
|
||||
D_80276E84 = NULL;
|
||||
n_syn = NULL;
|
||||
}
|
||||
}
|
||||
|
@@ -9,7 +9,7 @@
|
||||
#endif
|
||||
|
||||
extern ALCmdHandler n_alAuxBusPull;
|
||||
extern ALCmdHandler func_8025FE6C;
|
||||
extern ALCmdHandler n_alFxPull;
|
||||
extern void alN_PVoiceNew(N_PVoice *mv, ALDMANew dmaNew, ALHeap *hp);
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ void n_alSynNew(ALSynConfig *c)
|
||||
* Allocate an effect and set parameters
|
||||
*/
|
||||
n_syn->auxBus->fx = n_alSynAllocFX(0, c, hp);
|
||||
n_syn->mainBus->filter.handler = &func_8025FE6C;
|
||||
n_syn->mainBus->filter.handler = &n_alFxPull;
|
||||
} else{
|
||||
/*
|
||||
* Connect the aux bus to the main bus
|
||||
|
Reference in New Issue
Block a user