diff options
Diffstat (limited to 'src/mame/machine/tecmosys.cpp')
-rw-r--r-- | src/mame/machine/tecmosys.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/machine/tecmosys.cpp b/src/mame/machine/tecmosys.cpp index 7f56a00b8c5..2b0553546b6 100644 --- a/src/mame/machine/tecmosys.cpp +++ b/src/mame/machine/tecmosys.cpp @@ -45,17 +45,17 @@ enum DEV_STATUS struct prot_data { - UINT8 passwd_len; - const UINT8* passwd; - const UINT8* code; - UINT8 checksum_ranges[17]; - UINT8 checksums[4]; + uint8_t passwd_len; + const uint8_t* passwd; + const uint8_t* code; + uint8_t checksum_ranges[17]; + uint8_t checksums[4]; }; // deroon prot data -static const UINT8 deroon_passwd[] = {'L','U','N','A',0}; -static const UINT8 deroon_upload[] = {0x02, 0x4e, 0x75, 0x00 }; // code length, code, 0x00 trailer +static const uint8_t deroon_passwd[] = {'L','U','N','A',0}; +static const uint8_t deroon_upload[] = {0x02, 0x4e, 0x75, 0x00 }; // code length, code, 0x00 trailer static const struct prot_data deroon_data = { 5, @@ -72,8 +72,8 @@ static const struct prot_data deroon_data = }; // tkdensho prot data -static const UINT8 tkdensho_passwd[] = {'A','G','E','P','R','O','T','E','C','T',' ','S','T','A','R','T',0}; -static const UINT8 tkdensho_upload[] = {0x06, 0x4e, 0xf9, 0x00, 0x00, 0x22, 0xc4,0x00}; +static const uint8_t tkdensho_passwd[] = {'A','G','E','P','R','O','T','E','C','T',' ','S','T','A','R','T',0}; +static const uint8_t tkdensho_upload[] = {0x06, 0x4e, 0xf9, 0x00, 0x00, 0x22, 0xc4,0x00}; static const struct prot_data tkdensho_data = { 0x11, @@ -146,7 +146,7 @@ READ16_MEMBER(tecmosys_state::prot_data_r) { // prot appears to be read-ready for two consecutive reads // but returns 0xff for subsequent reads. - UINT8 ret = m_device_value; + uint8_t ret = m_device_value; m_device_value = 0xff; //logerror("- prot_r = 0x%02x\n", ret ); return ret << 8; |