summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/coleco/coleco.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/coleco/coleco.h')
-rw-r--r--src/mame/coleco/coleco.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/coleco/coleco.h b/src/mame/coleco/coleco.h
index adfdcc0b4cb..05855804e6c 100644
--- a/src/mame/coleco/coleco.h
+++ b/src/mame/coleco/coleco.h
@@ -2,8 +2,8 @@
// copyright-holders:Mike Balfour, Ben Bruscella, Sean Young, Frank Palazzolo
#pragma once
-#ifndef MAME_INCLUDES_COLECO_H
-#define MAME_INCLUDES_COLECO_H
+#ifndef MAME_COLECO_COLECO_H
+#define MAME_COLECO_COLECO_H
#include "cpu/z80/z80.h"
@@ -44,6 +44,8 @@ public:
virtual void machine_reset() override;
uint8_t cart_r(offs_t offset);
+ void cart_w(offs_t offset, uint8_t data);
+
uint8_t paddle_1_r();
uint8_t paddle_2_r();
void paddle_off_w(uint8_t data);
@@ -53,8 +55,7 @@ public:
TIMER_CALLBACK_MEMBER(paddle_irqreset_callback);
TIMER_CALLBACK_MEMBER(paddle_pulse_callback);
TIMER_DEVICE_CALLBACK_MEMBER(paddle_update_callback);
- DECLARE_WRITE_LINE_MEMBER(coleco_vdp_interrupt);
- DECLARE_DEVICE_IMAGE_LOAD_MEMBER(czz50_cart);
+ void coleco_vdp_interrupt(int state);
uint8_t coleco_paddle_read(int port, int joy_mode, uint8_t joy_status);
uint8_t coleco_scan_paddles(uint8_t *joy_status0, uint8_t *joy_status1);
@@ -137,4 +138,4 @@ private:
uint8_t m_unknown = 0U;
};
-#endif
+#endif // MAME_COLECO_COLECO_H