From 60847519361ca7dbd2b10ee584cb07d5732bc51f Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 11 Dec 2017 02:43:32 -0500 Subject: [PATCH] Add BITSWAP4 and BITSWAP12 for future use (nw) --- src/emu/emucore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/emucore.h b/src/emu/emucore.h index 1782ac8726d..212bf31c849 100644 --- a/src/emu/emucore.h +++ b/src/emu/emucore.h @@ -263,7 +263,9 @@ template T bitswap(T val, U... b) } // explicit versions that check number of bit position arguments +template constexpr T BITSWAP4(T val, U... b) { return bitswap<4U>(val, b...); } template constexpr T BITSWAP8(T val, U... b) { return bitswap<8U>(val, b...); } +template constexpr T BITSWAP12(T val, U... b) { return bitswap<12U>(val, b...); } template constexpr T BITSWAP16(T val, U... b) { return bitswap<16U>(val, b...); } template constexpr T BITSWAP24(T val, U... b) { return bitswap<24U>(val, b...); } template constexpr T BITSWAP32(T val, U... b) { return bitswap<32U>(val, b...); }