From 1c49eeef4390ae29199578b8f83a8e50d17af293 Mon Sep 17 00:00:00 2001 From: arbee Date: Thu, 18 May 2023 21:52:27 -0400 Subject: apple/dbdma.h: Slightly updated interface. [R. Belmont] --- src/mame/apple/dbdma.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mame/apple/dbdma.h b/src/mame/apple/dbdma.h index 191109805d2..5bd70dc8472 100644 --- a/src/mame/apple/dbdma.h +++ b/src/mame/apple/dbdma.h @@ -13,12 +13,14 @@ class dbdma_device : public device_t { public: // construction/destruction - dbdma_device(const machine_config &mconfig, const char *tag, device_t *owner) - : dbdma_device(mconfig, tag, owner, (uint32_t)0) + dbdma_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock, address_space *space) + : dbdma_device(mconfig, tag, owner, clock) { + printf("dbdma: setting space %p\n", space); + set_address_space(space); } - dbdma_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + dbdma_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); u32 dma_read(u32 offset); void dma_write(u32 offset, u32 data); -- cgit v1.2.3