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/mustache.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/mustache.cpp')
-rw-r--r-- | src/mame/drivers/mustache.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/mustache.cpp b/src/mame/drivers/mustache.cpp index 5703c6ffb74..2ed632e1d72 100644 --- a/src/mame/drivers/mustache.cpp +++ b/src/mame/drivers/mustache.cpp @@ -237,14 +237,14 @@ DRIVER_INIT_MEMBER(mustache_state,mustache) int G1 = memregion("gfx1")->bytes()/3; int G2 = memregion("gfx2")->bytes()/2; - UINT8 *gfx1 = memregion("gfx1")->base(); - UINT8 *gfx2 = memregion("gfx2")->base(); - std::vector<UINT8> buf(G2*2); + uint8_t *gfx1 = memregion("gfx1")->base(); + uint8_t *gfx2 = memregion("gfx2")->base(); + std::vector<uint8_t> buf(G2*2); /* BG data lines */ for (i=0;i<G1; i++) { - UINT16 w; + uint16_t w; buf[i] = BITSWAP8(gfx1[i], 0,5,2,6,4,1,7,3); @@ -262,7 +262,7 @@ DRIVER_INIT_MEMBER(mustache_state,mustache) /* SPR data lines */ for (i=0;i<G2; i++) { - UINT16 w; + uint16_t w; w = (gfx2[i] << 8) | gfx2[i+G2]; w = BITSWAP16(w, 5,7,11,4,15,10,3,14, 9,2,13,8,1,12,0,6 ); |