notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2588a93
)
dfxvideo: turn off strict-aliasing (causes problems)
author
notaz
<notasas@gmail.com>
Tue, 1 Mar 2011 23:19:29 +0000
(
01:19
+0200)
committer
notaz
<notasas@gmail.com>
Tue, 1 Mar 2011 23:21:59 +0000
(
01:21
+0200)
all that int16/int32 casting is messing it up I guess.
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
f36a031
..
900a5d8
100644
(file)
--- 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