aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxspu/spusetreverbaddr.s
blob: 089a91af0d642a1909ed56b5ce3790a034ed5f25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.set noreorder

.include "hwregs_a.h"


.section .text

.global SpuSetReverbAddr
.type SpuSetReverbAddr, @function
SpuSetReverbAddr:
	lui		$a3, IOBASE
	srl		$a0, 3
	sh		$a0, SPU_REVERB_ADDR($a3)
	jr		$ra
	nop
	
	
.global SpuSetReverbVolume
.type SpuSetReverbVolume, @function
SpuSetReverbVolume:
	lui		$a3, IOBASE
	sh		$a0, SPU_REVERB_VOL_L($a3)
	sh		$a1, SPU_REVERB_VOL_R($a3)
	jr		$ra
	nop