From 2ef486eeb981b5a9fa8f39446cde1b80264a2e4c Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 2 Mar 2011 01:19:29 +0200 Subject: [PATCH] dfxvideo: turn off strict-aliasing (causes problems) all that int16/int32 casting is messing it up I guess. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f36a031f..900a5d83 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,8 @@ LDFLAGS += -lasound endif # gpu -plugins/dfxvideo/%.o: CFLAGS += -Wall +# note: code is not safe for strict-aliasing? (Castlevania problems) +plugins/dfxvideo/%.o: CFLAGS += -Wall -fno-strict-aliasing OBJS += plugins/dfxvideo/gpu.o plugins/dfxvideo/gpu.o: plugins/dfxvideo/fps.c plugins/dfxvideo/prim.c \ plugins/dfxvideo/gpu.c plugins/dfxvideo/soft.c -- 2.39.2