summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nmc9306.h
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2023-03-12 08:36:28 +0200
committer Curt Coder <curtcoder@mail.com>2023-03-12 08:36:50 +0200
commit92f5d35614b7b74613f1daa65d84c664edbbc368 (patch)
tree8cdbe20bc1d5f2c9a1e76c6668d405a386b10482 /src/devices/machine/nmc9306.h
parentc0f1f79e7b80004be002cf8cab7f60f4d5a2b12e (diff)
abc1600: Fixed RTC and NVRAM communications. [Curt Coder]
Diffstat (limited to 'src/devices/machine/nmc9306.h')
-rw-r--r--src/devices/machine/nmc9306.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/nmc9306.h b/src/devices/machine/nmc9306.h
index 98566a9ab82..af2ecb17523 100644
--- a/src/devices/machine/nmc9306.h
+++ b/src/devices/machine/nmc9306.h
@@ -49,21 +49,21 @@ protected:
private:
inline uint16_t read(offs_t offset);
- inline void write(offs_t offset, uint16_t data);
+ inline void write(offs_t offset, u16 data);
inline void erase(offs_t offset);
uint16_t m_register[16];
int m_bits;
int m_state;
- uint8_t m_command;
- uint8_t m_address;
- uint16_t m_data;
+ u8 m_command;
+ u8 m_address;
+ u16 m_data;
bool m_ewen;
- int m_cs;
- int m_sk;
- int m_do;
- int m_di;
+ bool m_cs;
+ bool m_sk;
+ bool m_do;
+ bool m_di;
};