aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxspu/spusetreverbaddr.s
blob: 6ddbf44dc471b21487042a36d8ad7be19f5178d3 (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, 0x1f80
	srl		$a0, 3
	sh		$a0, SPU_REVERB_ADDR($a3)
	jr		$ra
	nop
	
	
.global SpuSetReverbVolume
.type SpuSetReverbVolume, @function
SpuSetReverbVolume:
	lui		$a3, 0x1f80
	sh		$a0, SPU_REVERB_VOL($a3)
	sh		$a1, SPU_REVERB_VOL+2($a3)
	jr		$ra
	nop