VOGONS

Common searches


Search results

Display options

Re: Glide patch

Perfect, you were right! This solved the problem 😀 The 3dfx tests worked perfectly, I'll test some games too and give some feedback. Thanks a lot for your great work!

Re: Glide patch

I just did it, you can find the output in the attached file. Running through Valgrind doesn't make dosbox crash (as the dosbox --enable-debug did). However, trying one of the 3dfx tests freezes dosbox. My guess is the problem starts here: ==14936== Invalid write of size 4 ==14936== at 0x80EC8CB: …

Re: Glide patch

Investigating the issues another bit, I found out a line where the problem might be. The backtrace reports: (gdb) bt #0 0x00ceff5c in malloc_consolidate () from /lib/libc.so.6 #1 0x00cf20bd in _int_malloc () from /lib/libc.so.6 #2 0x00cf3ebe in malloc () from /lib/libc.so.6 #3 0x07a42557 in operator …

Re: Glide patch

Just tried recompiling with your new patch, and now it compiles fine without having to touch anything. I also added --enable-debug to see if it gave me more info about the crash. However, now it didn't crash at all! So I made a few tests: The 3dfx diagnostic kit tests worked fine; Tomb Raider also …

Re: Glide patch

I managed to turn around the compilation problems this way: 1) I forced the defines of FX_ENTRY and FX_CALL to #define FX_ENTRY extern #define FX_CALL in sdk2_3dfx.h, because otherwise it kept introducing __stdcall which doesn't exist in Linux; 2) I didn't notice the mixxing bracket at line 204, …

Re: Glide patch

Hi, I just tried the patch on Linux, but it fails when compiling glide.cpp: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -MT glide.o -MD -MP -MF .deps/glide.Tpo -c -o glide.o glide.cpp ../../include/sdk2_glide.h:53: error: expected `)' before …

Page 1 of 1