summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/drawgfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/drawgfx.cpp')
-rw-r--r--src/emu/drawgfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/drawgfx.cpp b/src/emu/drawgfx.cpp
index b0c85c26bc6..8a63d71467c 100644
--- a/src/emu/drawgfx.cpp
+++ b/src/emu/drawgfx.cpp
@@ -21,7 +21,7 @@
offset
-------------------------------------------------*/
-static inline int readbit(const u8 *src, unsigned int bitnum)
+constexpr int readbit(const u8 *src, unsigned int bitnum)
{
return src[bitnum / 8] & (0x80 >> (bitnum % 8));
}