diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/bfm_sc1.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/bfm_sc1.cpp')
-rw-r--r-- | src/mame/drivers/bfm_sc1.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/bfm_sc1.cpp b/src/mame/drivers/bfm_sc1.cpp index 0b181edbb9e..50e78799359 100644 --- a/src/mame/drivers/bfm_sc1.cpp +++ b/src/mame/drivers/bfm_sc1.cpp @@ -156,8 +156,8 @@ public: int m_mux2_datalo; int m_mux2_datahi; int m_mux2_input; - UINT8 m_sc1_Inputs[64]; - UINT8 m_codec_data[256]; + uint8_t m_sc1_Inputs[64]; + uint8_t m_codec_data[256]; int m_defaultbank; DECLARE_WRITE8_MEMBER(bankswitch_w); @@ -407,7 +407,7 @@ WRITE8_MEMBER(bfm_sc1_state::vfd_w) // conversion table BFM strobe data to internal lamp numbers -static const UINT8 BFM_strcnv[] = +static const uint8_t BFM_strcnv[] = { 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87, 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97, @@ -660,7 +660,7 @@ void bfm_sc1_state::machine_reset() // init rom bank //////////////////////////////////////////////////////////////////// { - UINT8 *rom = memregion("maincpu")->base(); + uint8_t *rom = memregion("maincpu")->base(); membank("bank1")->configure_entries(0, 4, &rom[0x0000], 0x02000); membank("bank1")->set_entry(m_defaultbank); @@ -1163,7 +1163,7 @@ int bfm_sc1_state::sc1_find_project_string( ) { // search for the project string to find the title (usually just at ff00) char title_string[7][32] = { "PROJECT NUMBER", "PROJECT PR", "PROJECT ", "CASH ON THE NILE 2", "PR6121", "CHINA TOWN\x0d\x0a", "PROJECTNUMBER" }; - UINT8 *src = memregion( "maincpu" )->base(); + uint8_t *src = memregion( "maincpu" )->base(); int size = memregion( "maincpu" )->bytes(); for (auto & elem : title_string) @@ -1176,8 +1176,8 @@ int bfm_sc1_state::sc1_find_project_string( ) int found = 1; for (j=0;j<strlength;j+=1) { - UINT8 rom = src[(i+j)]; - UINT8 chr = elem[j]; + uint8_t rom = src[(i+j)]; + uint8_t chr = elem[j]; if (rom != chr) { @@ -1195,7 +1195,7 @@ int bfm_sc1_state::sc1_find_project_string( ) while (!end) { - UINT8 rom; + uint8_t rom; int addr; addr = (i+count); |