diff options
Diffstat (limited to 'src/devices/video/gb_lcd.h')
-rw-r--r-- | src/devices/video/gb_lcd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/video/gb_lcd.h b/src/devices/video/gb_lcd.h index 2de6c66ba10..9c4e2607420 100644 --- a/src/devices/video/gb_lcd.h +++ b/src/devices/video/gb_lcd.h @@ -30,12 +30,12 @@ public: uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - DECLARE_READ8_MEMBER(vram_r); - DECLARE_WRITE8_MEMBER(vram_w); - DECLARE_READ8_MEMBER(oam_r); - DECLARE_WRITE8_MEMBER(oam_w); - virtual DECLARE_READ8_MEMBER(video_r); - virtual DECLARE_WRITE8_MEMBER(video_w); + uint8_t vram_r(offs_t offset); + void vram_w(offs_t offset, uint8_t data); + uint8_t oam_r(offs_t offset); + void oam_w(offs_t offset, uint8_t data); + virtual uint8_t video_r(offs_t offset); + virtual void video_w(offs_t offset, uint8_t data); virtual void update_state(); @@ -289,8 +289,8 @@ public: } cgb_ppu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - virtual DECLARE_READ8_MEMBER(video_r) override; - virtual DECLARE_WRITE8_MEMBER(video_w) override; + virtual uint8_t video_r(offs_t offset) override; + virtual void video_w(offs_t offset, uint8_t data) override; protected: |