sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
sspause.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 "
libsnd2_internal.h
"
12
13
void
_SsSndSetPauseMode(s16 sep_no, s16 seq_no)
14
{
15
libsnd2_sequence_struct_t *score_struct;
16
17
score_struct = &_ss_score[sep_no][seq_no];
18
_SsVmGetSeqVol(sep_no | (seq_no << 8), &score_struct->m_unk5C, &score_struct->m_unk5E);
19
score_struct->m_flags &= ~1u;
20
score_struct->m_flags &= ~8u;
21
score_struct->m_flags |= 2u;
22
}
23
24
void
SsSeqPause(s16 sep_no)
25
{
26
_SsSndSetPauseMode(sep_no, 0);
27
}
28
29
void
SsSepPause(s16 sep_no, s16 seq_no)
30
{
31
_SsSndSetPauseMode(sep_no, seq_no);
32
}
libsnd2_internal.h
libsnd2
src
sspause.c
Generated by
1.18.0