diff options
author | Christian Birchinger <joker@gentoo.org> | 2007-03-28 00:58:24 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2007-03-28 00:58:24 +0000 |
commit | 121c27dbab1fdbba02cd92ce2529443c256b956c (patch) | |
tree | deb436faadc94d2fca5b7578af1f2f7d45b61750 /games-emulation/mupen64/files/mupen64-glN64-noasmfix.patch | |
parent | gnome 2.18.0 (diff) | |
download | gentoo-2-121c27dbab1fdbba02cd92ce2529443c256b956c.tar.gz gentoo-2-121c27dbab1fdbba02cd92ce2529443c256b956c.tar.bz2 gentoo-2-121c27dbab1fdbba02cd92ce2529443c256b956c.zip |
New revision with some patches from the standalone glN64 ebuild. Infos taken from Bug #170763 and thanks to Sal Gonzalez <ghostx@optonline.net>.
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-emulation/mupen64/files/mupen64-glN64-noasmfix.patch')
-rw-r--r-- | games-emulation/mupen64/files/mupen64-glN64-noasmfix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/mupen64/files/mupen64-glN64-noasmfix.patch b/games-emulation/mupen64/files/mupen64-glN64-noasmfix.patch new file mode 100644 index 000000000000..5aee4032eedd --- /dev/null +++ b/games-emulation/mupen64/files/mupen64-glN64-noasmfix.patch @@ -0,0 +1,11 @@ +--- glN64/convert.h.old 2005-04-23 16:32:44.000000000 -0700 ++++ glN64/convert.h 2005-04-23 16:40:43.000000000 -0700 +@@ -442,7 +442,7 @@ + while (numDWords--) + { + u32 dword = *(u32 *)src; +- __asm__ volatile( "bswapl %0\n\t" : "=q"(dword) : "0"(dword) ); ++ dword = ((dword<<24)|((dword<<8)&0x00FF0000)|((dword>>8)&0x0000FF00)|(dword>>24)); + *(u32 *)dest = dword; + dest = (void *)((int)dest+4); + src = (void *)((int)src +4); |