sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
s_srd.c
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
11
#include "
libspu2_internal.h
"
12
13
int
SpuSetReverbDepth(SpuReverbAttr *attr)
14
{
15
unsigned
int
mask;
16
17
mask = attr->mask;
18
if
( mask == 0 )
19
mask = 0xFFFFFFFF;
20
if
( (mask & SPU_REV_DEPTHL) != 0 )
21
{
22
_spu_RXX[20 * _spu_core + 946] = attr->depth.left;
23
_spu_rev_attr.depth.left = attr->depth.left;
24
}
25
if
( (mask & SPU_REV_DEPTHR) != 0 )
26
{
27
_spu_RXX[20 * _spu_core + 947] = attr->depth.right;
28
_spu_rev_attr.depth.right = attr->depth.right;
29
}
30
return
0;
31
}
libspu2_internal.h
core
libspu2
src
s_srd.c
Generated by
1.18.0