mirror of
https://github.com/deadw00d/AROS.git
synced 2025-12-09 16:00:35 +00:00
Roll back reset_audio. The audio problem was not fixed, and the change was incorrect.
This commit is contained in:
@ -47,14 +47,6 @@ const struct Resident rb_tag =
|
||||
(APTR)Init
|
||||
};
|
||||
|
||||
static void reset_audio(void)
|
||||
{
|
||||
volatile struct Custom *custom = (struct Custom *) 0xDFF000;
|
||||
|
||||
// Disable DMA for all four audio channels to get a clean state
|
||||
custom->dmacon = 0x8000 | (DMAF_AUD0 | DMAF_AUD1 | DMAF_AUD2 | DMAF_AUD3);
|
||||
}
|
||||
|
||||
// ROMTAG INIT time
|
||||
static void romtaginit(struct ExpansionBase *ExpansionBase)
|
||||
{
|
||||
@ -132,7 +124,6 @@ static AROS_UFH3 (APTR, Init,
|
||||
if (res)
|
||||
uaegfxhack(res, "uaelib_demux");
|
||||
|
||||
reset_audio();
|
||||
romtaginit(eb);
|
||||
|
||||
CloseLibrary((struct Library*)eb);
|
||||
|
||||
Reference in New Issue
Block a user