sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
s_svlsa.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
static
void
__attribute__
((optimize(
"no-unroll-loops"
))) _spu_wait_SpuSetVoiceLoopStartAddr(
void
)
14
{
15
int
i;
16
int
v1;
17
18
v1 = 1;
19
for
( i = 0; i < 2; i += 1 )
20
{
21
v1 *= 13;
22
__asm__ __volatile__(
""
:
"+g"
(v1) : :);
23
}
24
}
25
26
void
SpuSetVoiceLoopStartAddr(
int
v_num,
unsigned
int
lsa)
27
{
28
_spu_FsetRXX(6 * v_num + 226, (lsa >> 4) << 4, 1);
29
_spu_wait_SpuSetVoiceLoopStartAddr();
30
}
libspu2_internal.h
__attribute__
Definition
gif_registers.h:40
core
libspu2
src
s_svlsa.c
Generated by
1.18.0