From 7f79b08ada3aa5c98b12bf92641cee01c664d7a3 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Fri, 17 Jun 2016 00:08:52 -0400 Subject: [PATCH] Fix compile error for 5.4.0 GCC (nw) --- src/mame/video/divebomb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/divebomb.cpp b/src/mame/video/divebomb.cpp index e141acba1f1..275ef64e173 100644 --- a/src/mame/video/divebomb.cpp +++ b/src/mame/video/divebomb.cpp @@ -40,7 +40,7 @@ TILE_GET_INFO_MEMBER(divebomb_state::get_fg_tile_info) K051316_CB_MEMBER(divebomb_state::zoom_callback_1) { *code |= (*color & 0x03) << 8; - *color = 0 + (roz_pal >> 4) & 3; + *color = 0 + ((roz_pal >> 4) & 3); }