summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/l7a1045_l6028_dsp_a.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/l7a1045_l6028_dsp_a.h')
-rw-r--r--src/devices/sound/l7a1045_l6028_dsp_a.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/sound/l7a1045_l6028_dsp_a.h b/src/devices/sound/l7a1045_l6028_dsp_a.h
index b9d85ee130d..f009309bcb3 100644
--- a/src/devices/sound/l7a1045_l6028_dsp_a.h
+++ b/src/devices/sound/l7a1045_l6028_dsp_a.h
@@ -23,8 +23,8 @@ public:
uint8_t dma_r_cb(offs_t offset);
void dma_w_cb(offs_t offset, uint8_t data);
- uint16_t dma_r16_cb();
- void dma_w16_cb(uint16_t data);
+ uint16_t dma_r16_cb(offs_t offset, uint16_t mem_mask);
+ void dma_w16_cb(offs_t offset, uint16_t data, uint16_t mem_mask);
protected:
// device-level overrides
@@ -62,6 +62,7 @@ private:
int32_t b = 0, l = 0; // filter state
uint8_t send_dest = 0;
uint8_t send_level = 0;
+ uint8_t sample_type = 0; // 0 = 16-bit, 1 = 12-bit non-linear
};
devcb_write_line m_drq_handler;
@@ -76,6 +77,8 @@ private:
uint64_t m_regs[REGS_PER_VOICE][NUM_VOICES];
+ uint32_t m_ram_mask;
+
void voice_select_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
uint16_t voiceregs_r(offs_t offset);
void voiceregs_w(offs_t offset, uint16_t data);