diff options
author | notaz | 2011-07-27 20:06:46 +0300 |
---|---|---|
committer | notaz | 2011-07-27 20:06:46 +0300 |
commit | 3fc2a4c27be8c8cd5f8cf53a0d56c263275b8501 (patch) | |
tree | 97ebcaa96a02ada6290d632bfa9f3cc7f83dbb39 /plugins/dfsound/registers.h | |
parent | e11ae5c58194de196c57ba0a2107d6eec5c0394a (diff) | |
download | pcsx_rearmed-3fc2a4c27be8c8cd5f8cf53a0d56c263275b8501.tar.gz pcsx_rearmed-3fc2a4c27be8c8cd5f8cf53a0d56c263275b8501.tar.bz2 pcsx_rearmed-3fc2a4c27be8c8cd5f8cf53a0d56c263275b8501.zip |
spu: simplify irq and flag handling
shalma's recent work taken into account when working on this.
NOT verified on read hardware.
Diffstat (limited to 'plugins/dfsound/registers.h')
-rw-r--r-- | plugins/dfsound/registers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/dfsound/registers.h b/plugins/dfsound/registers.h index f2a9397..204a669 100644 --- a/plugins/dfsound/registers.h +++ b/plugins/dfsound/registers.h @@ -142,3 +142,11 @@ #define H_SPU_ADSRLevel22 0x0d68
#define H_SPU_ADSRLevel23 0x0d78
+#define CTRL_IRQ 0x40
+#define CTRL_REVERB 0x80
+#define CTRL_NOISE 0x3f00
+#define CTRL_MUTE 0x4000
+#define CTRL_ON 0x8000
+
+#define STAT_IRQ 0x40
+
|