PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
s_gvlsa.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
13void SpuGetVoiceLoopStartAddr(int v_num, unsigned int *loop_start_addr)
14{
15 *loop_start_addr = _spu_MGFgetRXX2(6 * (v_num & 0x1F) + 226);
16}