diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/norautp.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/norautp.cpp')
-rw-r--r-- | src/mame/drivers/norautp.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/norautp.cpp b/src/mame/drivers/norautp.cpp index 12ec866ae0c..dfc2df9268b 100644 --- a/src/mame/drivers/norautp.cpp +++ b/src/mame/drivers/norautp.cpp @@ -567,11 +567,11 @@ void norautp_state::video_start() { - m_np_vram = make_unique_clear<UINT16[]>(0x1000/2); + m_np_vram = make_unique_clear<uint16_t[]>(0x1000/2); } -UINT32 norautp_state::screen_update_norautp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t norautp_state::screen_update_norautp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { int x, y, count; @@ -3466,21 +3466,21 @@ ROM_END */ //static DRIVER_INIT( norautrh ) //{ -// UINT8 *ROM = machine.root_device().memregion("maincpu")->base(); +// uint8_t *ROM = machine.root_device().memregion("maincpu")->base(); // ROM[0x1110] = 0x00; // ROM[0x1111] = 0x00; //} //static DRIVER_INIT( norautpn ) //{ -// UINT8 *ROM = machine.root_device().memregion("maincpu")->base(); +// uint8_t *ROM = machine.root_device().memregion("maincpu")->base(); // ROM[0x0827] = 0x00; // ROM[0x0828] = 0x00; //} //static DRIVER_INIT( norautu ) //{ -// UINT8 *ROM = machine.root_device().memregion("maincpu")->base(); +// uint8_t *ROM = machine.root_device().memregion("maincpu")->base(); // ROM[0x083c] = 0x00; // ROM[0x083d] = 0x00; // ROM[0x083e] = 0x00; @@ -3488,7 +3488,7 @@ ROM_END //static DRIVER_INIT( gtipoker ) //{ -// UINT8 *ROM = machine.root_device().memregion("maincpu")->base(); +// uint8_t *ROM = machine.root_device().memregion("maincpu")->base(); // ROM[0x0cc6] = 0x00; // ROM[0x0cc7] = 0x00; // ROM[0x0cc8] = 0x00; @@ -3499,7 +3499,7 @@ ROM_END //static DRIVER_INIT( dphl ) //{ -// UINT8 *ROM = machine.root_device().memregion("maincpu")->base(); +// uint8_t *ROM = machine.root_device().memregion("maincpu")->base(); // ROM[0x1510] = 0x00; // ROM[0x1511] = 0x00; // ROM[0x1512] = 0x00; @@ -3507,7 +3507,7 @@ ROM_END //static DRIVER_INIT( dphla ) //{ -// UINT8 *ROM = machine.root_device().memregion("maincpu")->base(); +// uint8_t *ROM = machine.root_device().memregion("maincpu")->base(); // ROM[0x0b09] = 0x00; // ROM[0x0b0a] = 0x00; // ROM[0x0b0b] = 0x00; @@ -3517,8 +3517,8 @@ DRIVER_INIT_MEMBER(norautp_state,enc) { /* Attempt to decrypt the program ROM */ -// UINT8 *rom = memregion("maincpu")->base(); -// UINT8 *buffer; +// uint8_t *rom = memregion("maincpu")->base(); +// uint8_t *buffer; // int size = 0x2000; //memregion("maincpu")->bytes(); // int start = 0; // int i; @@ -3546,7 +3546,7 @@ DRIVER_INIT_MEMBER(norautp_state,enc) // i = i + 16; // } -// buffer = alloc_array_or_die(UINT8, size); +// buffer = alloc_array_or_die(uint8_t, size); // memcpy(buffer, rom, size); // free(buffer); @@ -3556,7 +3556,7 @@ DRIVER_INIT_MEMBER(norautp_state,deb) /* Just for debugging purposes */ /* Should be removed soon */ { - UINT8 *ROM = memregion("maincpu")->base(); + uint8_t *ROM = memregion("maincpu")->base(); ROM[0x02f7] = 0xca; ROM[0x02f8] = 0x18; ROM[0x206c] = 0xff; @@ -3566,7 +3566,7 @@ DRIVER_INIT_MEMBER(norautp_state,ssa) /* Passing the video PPI handshaking lines */ /* Just for debugging purposes */ { -// UINT8 *ROM = memregion("maincpu")->base(); +// uint8_t *ROM = memregion("maincpu")->base(); // ROM[0x073b] = 0x00; // ROM[0x073c] = 0x00; |