diff options
Diffstat (limited to 'emulators/mame/patches/patch-src_emu_emucore.h')
-rw-r--r-- | emulators/mame/patches/patch-src_emu_emucore.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/emulators/mame/patches/patch-src_emu_emucore.h b/emulators/mame/patches/patch-src_emu_emucore.h index 087652e7c4b..5da09375ced 100644 --- a/emulators/mame/patches/patch-src_emu_emucore.h +++ b/emulators/mame/patches/patch-src_emu_emucore.h @@ -1,22 +1,20 @@ -$NetBSD: patch-src_emu_emucore.h,v 1.1.1.1 2011/02/03 22:22:36 wiz Exp $ - -Sent upstream and accepted. +$NetBSD: patch-src_emu_emucore.h,v 1.2 2011/02/11 12:49:33 abs Exp $ --- src/emu/emucore.h.orig 2010-12-31 14:59:46.000000000 +0000 +++ src/emu/emucore.h @@ -686,6 +686,7 @@ inline void fatalerror_exitcode(running_ - //************************************************************************** - - // population count -+#ifndef SDLMAME_NETBSD - inline int popcount(UINT32 val) - { - int count; -@@ -694,6 +695,7 @@ inline int popcount(UINT32 val) - val &= val - 1; - return count; - } -+#endif - - - // convert a series of 32 bits into a float + //**************************************************************************
+
+ // population count
++#ifndef SDLMAME_NETBSD
+ inline int popcount(UINT32 val)
+ {
+ int count;
+@@ -694,6 +695,7 @@ inline int popcount(UINT32 val)
+ val &= val - 1;
+ return count;
+ }
++#endif
+
+
+ // convert a series of 32 bits into a float
|