From dcdde184eab7876aa5cc4b1c4928876d7463dc66 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Sat, 24 Dec 2022 14:28:49 -0500 Subject: [PATCH] Run CursorRemove on Sound files --- src/Home/Sound/AC97/Pci.ZC | 2 +- src/Home/Sound/HDAudio0/HDAudio.ZC | 2 +- src/Home/Sound/HDAudio1/Load.ZC | 1 - src/Home/Sound/HDAudio1/Sup1CodeScraps/Mem/Mem2Meg.ZC | 2 +- src/Home/Sound/HDAudio1/Sup1HDAudio/Examples/Echo.ZC | 1 - src/Home/Sound/HDAudio1/Sup1HDAudio/Examples/Guitar.ZC | 2 +- src/Home/Sound/HDAudio1/Sup1HDAudio/Examples/Synth.ZC | 1 - src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC | 2 +- src/Home/Sound/HDAudio1/Sup1HDAudio/HDCfg.ZC | 2 +- src/Home/Sound/HDAudio1/Sup1Snd/SndFile.ZC | 2 +- src/Home/Sound/HDAudio1/Sup1Snd/SndMusic.ZC | 2 +- 11 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/Home/Sound/AC97/Pci.ZC b/src/Home/Sound/AC97/Pci.ZC index 9f83604d..1309068d 100644 --- a/src/Home/Sound/AC97/Pci.ZC +++ b/src/Home/Sound/AC97/Pci.ZC @@ -86,4 +86,4 @@ MemSet(&@pci_int_handler, NULL, sizeof(U64) * PCI_INTH_MAX); // IntEntrySet(0x41, &@pci_interrupt_handler, IDTET_IRQ); // IntEntrySet(0x42, &@pci_interrupt_handler, IDTET_IRQ); // IntEntrySet(0x43, &@pci_interrupt_handler, IDTET_IRQ); -//@pci_reroute_interrupts(0x40, 0); \ No newline at end of file +//@pci_reroute_interrupts(0x40, 0); \ No newline at end of file diff --git a/src/Home/Sound/HDAudio0/HDAudio.ZC b/src/Home/Sound/HDAudio0/HDAudio.ZC index cd73d284..718b9f53 100644 --- a/src/Home/Sound/HDAudio0/HDAudio.ZC +++ b/src/Home/Sound/HDAudio0/HDAudio.ZC @@ -1049,4 +1049,4 @@ Bool HDAudioScan() HDAudioScan; Kill(hda.task); -HDAudioScan; \ No newline at end of file +HDAudioScan; \ No newline at end of file diff --git a/src/Home/Sound/HDAudio1/Load.ZC b/src/Home/Sound/HDAudio1/Load.ZC index 8fb4d20a..cf89cafa 100644 --- a/src/Home/Sound/HDAudio1/Load.ZC +++ b/src/Home/Sound/HDAudio1/Load.ZC @@ -3,4 +3,3 @@ Cd(__DIR__); SysFile("Sup1CodeScraps/Mem/Mem2Meg.ZC"); SysFile("Sup1Snd/MakeSnd.ZC"); SysFile("Sup1HDAudio/HDAudio.ZC"); - \ No newline at end of file diff --git a/src/Home/Sound/HDAudio1/Sup1CodeScraps/Mem/Mem2Meg.ZC b/src/Home/Sound/HDAudio1/Sup1CodeScraps/Mem/Mem2Meg.ZC index fb94b9b9..00233577 100644 --- a/src/Home/Sound/HDAudio1/Sup1CodeScraps/Mem/Mem2Meg.ZC +++ b/src/Home/Sound/HDAudio1/Sup1CodeScraps/Mem/Mem2Meg.ZC @@ -166,7 +166,7 @@ U0 Mem2MegFree(CMemBlk *m,I64 pages2Meg,CBlkPool *bp=NULL) while (m2 1) diff --git a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDCfg.ZC b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDCfg.ZC index 0121d449..e6520cf8 100644 --- a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDCfg.ZC +++ b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDCfg.ZC @@ -649,7 +649,7 @@ U0 HDCfg() PopUpOk( "This is a tool to cfgure\n" "HD Audio.It creates $$FG,RED$$~/HDAudioCfg.ZC.Z$$FG$$\n" "which you should $$FG,GREEN$$ -#include$$FG$$ in your\n" +#include$$FG$$ in your\n" "$$FG,RED$$~/HomeSnd.ZC.Z$$FG$$ file.\n\n\n" "Left click to see info and cfgure a widget.\n" "Right click drag to connect output to input.\n\n" diff --git a/src/Home/Sound/HDAudio1/Sup1Snd/SndFile.ZC b/src/Home/Sound/HDAudio1/Sup1Snd/SndFile.ZC index 047e9d53..97c3fbf1 100644 --- a/src/Home/Sound/HDAudio1/Sup1Snd/SndFile.ZC +++ b/src/Home/Sound/HDAudio1/Sup1Snd/SndFile.ZC @@ -108,7 +108,7 @@ public I64 SndFileCreate(U8 *base_filename,F64 normalized_vol=1.0, s->body[cnt-1]=0; d=screencast.sound_head.next; - while (d!=&screencast.sound_head) { + while (d!=&screencast.sound_head) { d1=d->next; QueueRemove(d); Free(d); diff --git a/src/Home/Sound/HDAudio1/Sup1Snd/SndMusic.ZC b/src/Home/Sound/HDAudio1/Sup1Snd/SndMusic.ZC index 9d2780e6..464aff6b 100644 --- a/src/Home/Sound/HDAudio1/Sup1Snd/SndMusic.ZC +++ b/src/Home/Sound/HDAudio1/Sup1Snd/SndMusic.ZC @@ -202,7 +202,7 @@ U0 MusicSettingsReset() music.note_len=1.0; music.meter_top=4; music.meter_bottom=4; - SoundReset; + SoundReset; PUSHFD CLI if (mp_count>1)