n_syndelete and n_synallocfx

This commit is contained in:
ProjectRevoTPP
2024-09-14 18:31:03 -04:00
parent 78b1b68cbe
commit ff471fa82b
4 changed files with 52 additions and 6 deletions

View File

@@ -1,5 +0,0 @@
#include "global.h"
#pragma GLOBAL_ASM("asm/us/nonmatchings/50990/n_alSynDelete.s")
#pragma GLOBAL_ASM("asm/us/nonmatchings/50990/n_alSynAllocFX.s")

View File

@@ -0,0 +1,25 @@
/*====================================================================
*
* Copyright 1993, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
#include "n_synthInternals.h"
ALFxRef n_alSynAllocFX(s16 bus, ALSynConfig *c, ALHeap *hp)
{
n_alFxNew(&n_syn->auxBus->fx_array[bus], c, hp);
return(n_syn->auxBus->fx_array[bus]);
}

View File

@@ -0,0 +1,25 @@
/*====================================================================
*
* Copyright 1993, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics,
* Inc.; the contents of this file may not be disclosed to third
* parties, copied or duplicated in any form, in whole or in part,
* without the prior written permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to
* restrictions as set forth in subdivision (c)(1)(ii) of the Rights
* in Technical Data and Computer Software clause at DFARS
* 252.227-7013, and/or in similar or successor clauses in the FAR,
* DOD or NASA FAR Supplement. Unpublished - rights reserved under the
* Copyright Laws of the United States.
*====================================================================*/
#include "n_synthInternals.h"
void n_alSynDelete(void)
{
n_syn->head = 0;
}

View File

@@ -110,7 +110,8 @@
- [0x4FF50, c]
- [0x50120, c]
- [0x50860, c]
- [0x50990, c]
- [0x50990, c, libnaudio/n_syndelete]
- [0x509A0, c, libnaudio/n_synallocfx]
- [0x50A00, c]
- [0x50C20, c]
- [0x50CC0, c]