JoshTriplett
New member
I've taken the source from http://www.emuxhaven.net/forums/showthread.php?t=6123 (linked from the news item at http://glide64.emuxhaven.net/) for the newer glide wrapper with hardware frame buffer emulation, and merged it with the wrapper included in the glide64 plugin at http://mupen64.emulation64.com/files/0.5/glide64-0.7.SP8.tar.bz2 (linked from the mupen64 source code post at http://www.emutalk.net/showthread.php?t=29643). I've tested the resulting plugin with Mupen64, and it seems to run fine. Patch attached; apply with:
Note that in order to build the Glide64 plugin with a current GCC compiler, I had to change -O3 to -O2 in the Makefile, which disables inlining; otherwise, GCC will inline functions from TexLoad*.h in several places, and since those functions contain inline assembly, this leads to duplicate labels in the resulting assembly files, breaking the build. You may want to edit the CFLAGS in the Makefile anyway, to optimize for your particular processor.
Code:
patch -p1 < glide64-newer-wrapper.patch.txt
Note that in order to build the Glide64 plugin with a current GCC compiler, I had to change -O3 to -O2 in the Makefile, which disables inlining; otherwise, GCC will inline functions from TexLoad*.h in several places, and since those functions contain inline assembly, this leads to duplicate labels in the resulting assembly files, breaking the build. You may want to edit the CFLAGS in the Makefile anyway, to optimize for your particular processor.