Changes: 0.35 [CORE] Support for Genecyst patch files / Game Genie [CORE] Support for AVI uncompressed and MJPEG output [68000] Re-added busy wait removal that got lost [SOUND] Added configurable single-pole low-pass filter [CORE] Added autoconf/automake version checks [VDP] Fix FIFO busy flag (Nicholas Van Veen) [SOUND] Various further endian improvements from Bastien Nocera and andi@fischlustig.de (Debian) [SOUND] Various BSD compatibility improvements from Alistair Crooks and Michael Core (NetBSD) [UI] SDL Joystick support from Matthew N. Dodd (FreeBSD) [68000] Do pre-decrement with two reads (Steve Snake) [68000] Make TAS not write (Steve Snake) fixes Gargoyles, Ex Mutant [68000] Re-write ABCD,etc based on info from Bart Trzynadlowski [68000] Implement missing BTST op-code (fixes NHL Hockey 94)
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
$NetBSD: patch-ae,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
|
|
|
|
--- hdr/generator.h.orig 2003-05-04 20:50:43.000000000 +0200
|
|
+++ hdr/generator.h 2005-02-01 00:46:44.000000000 +0100
|
|
@@ -21,6 +21,11 @@
|
|
#include <machine/endian.h>
|
|
#define SWAP16(x) bswap_16((x))
|
|
#define SWAP32(x) bswap_32((x))
|
|
+#elif defined(__NetBSD__)
|
|
+ #include <sys/types.h>
|
|
+ #include <machine/endian.h>
|
|
+ #define SWAP16(x) bswap16((x))
|
|
+ #define SWAP32(x) bswap32((x))
|
|
#else
|
|
#define SWAP16(y) (( ((y)>>8) & 0x00ff) | (( ((y)<<8) & 0xff00)))
|
|
#define SWAP32(y) (( ((y)>>24) & 0x000000ff) | \
|
|
@@ -221,11 +226,11 @@
|
|
# define LOG_DEBUG3(x) /* ui_log_debug3 ## x */
|
|
# define LOG_DEBUG2(x) /* ui_log_debug2 ## x */
|
|
# define LOG_DEBUG1(x) /* ui_log_debug1 ## x */
|
|
-# define LOG_USER(x) ui_log_user ## x
|
|
-# define LOG_VERBOSE(x) ui_log_verbose ## x
|
|
-# define LOG_NORMAL(x) ui_log_normal ## x
|
|
-# define LOG_CRITICAL(x) ui_log_critical ## x
|
|
-# define LOG_REQUEST(x) ui_log_request ## x
|
|
+# define LOG_USER(x) ui_log_user x
|
|
+# define LOG_VERBOSE(x) ui_log_verbose x
|
|
+# define LOG_NORMAL(x) ui_log_normal x
|
|
+# define LOG_CRITICAL(x) ui_log_critical x
|
|
+# define LOG_REQUEST(x) ui_log_request x
|
|
#endif
|
|
|
|
typedef struct {
|