diff options
author | mooglyguy <therealmogminer@gmail.com> | 2018-11-05 20:15:31 +0100 |
---|---|---|
committer | mooglyguy <therealmogminer@gmail.com> | 2018-11-05 20:15:41 +0100 |
commit | bce881ddb71a61bc80424e8405e2c2aa2d5f21f3 (patch) | |
tree | ce3a23381eb393254ee7a8498bb893b0d68d50dc /src/devices/machine/wd33c93.h | |
parent | b599c917859ad153a691a9f043d4186be9834012 (diff) |
hpc3: Improved DMA transfer behavior. The IRIX installer now loads, but panics. [Ryan Holtz]
Diffstat (limited to 'src/devices/machine/wd33c93.h')
-rw-r--r-- | src/devices/machine/wd33c93.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/wd33c93.h b/src/devices/machine/wd33c93.h index 6a00745bc30..83c1c5a62d9 100644 --- a/src/devices/machine/wd33c93.h +++ b/src/devices/machine/wd33c93.h @@ -28,7 +28,7 @@ public: DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); - void dma_read_data(int bytes, uint8_t *data); + int dma_read_data(int bytes, uint8_t *data); void dma_write_data(int bytes, uint8_t *data); void clear_dma(); int get_dma_count(); @@ -72,8 +72,8 @@ private: WD_AUXILIARY_STATUS = 0x1f }; - static constexpr unsigned TEMP_INPUT_LEN = 262144; - static constexpr unsigned FIFO_SIZE = 12; + static constexpr int TEMP_INPUT_LEN = 262144; + static constexpr int FIFO_SIZE = 12; uint8_t getunit(); void set_xfer_count(int count); |