diff options
| author | 2025-10-11 12:13:34 -0400 | |
|---|---|---|
| committer | 2025-10-11 12:13:34 -0400 | |
| commit | a12da40c5fa1658daef935008510b5ac62c23647 (patch) | |
| tree | 234ba38dd58293fa8ba0d1e4631dfb451404e70f | |
| parent | 51dad4a2631b1aa3eecaa3b13ce3f9aeea0abb4f (diff) | |
gaelco/gaelco2_v.cpp: Fix build
| -rw-r--r-- | src/mame/gaelco/gaelco2_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/gaelco/gaelco2_v.cpp b/src/mame/gaelco/gaelco2_v.cpp index 6067b7382fe..1955b672375 100644 --- a/src/mame/gaelco/gaelco2_v.cpp +++ b/src/mame/gaelco/gaelco2_v.cpp @@ -213,7 +213,7 @@ void gaelco2_state::vregs_w(offs_t offset, u16 data, u16 mem_mask) ***************************************************************************/ static constexpr u8 RGB_CHG = 0x08; -static constexpr u8 ADJUST_COLOR(s16 c) { u8(u16(std::clamp<s16>(c, 0, 255))); } +static constexpr u8 ADJUST_COLOR(s16 c) { return std::clamp<s16>(c, 0, 255); } // table used for color adjustment static const s8 pen_color_adjust[16] = { |
