From: notaz Date: Tue, 1 Mar 2011 23:19:29 +0000 (+0200) Subject: dfxvideo: turn off strict-aliasing (causes problems) X-Git-Tag: r7~1 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ef486eeb981b5a9fa8f39446cde1b80264a2e4c;p=pcsx_rearmed.git dfxvideo: turn off strict-aliasing (causes problems) all that int16/int32 casting is messing it up I guess. --- 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