Thread
:
[OS2008] Quake 1 now running!
View Single Post
trompkins
2011-03-12 , 02:00
Posts: 50 | Thanked: 120 times | Joined on Apr 2010 @ Poland
#
190
I'm trying to compile this for N900 - with limited success.
It segfaults upon starting new game if there's as much as -O1 in CFLAGS.
-O0 works fine, but overall performance is utter crap.
With -O1/-O2 it runs nicely until I try to start new game...
GDB says the execution chokes on some fread():
0x4018788c <fread+44>: ldr r3, [r3]
There are three places where it could happen:
- one in cl_demo.c, in a function which handles recording and playback of demos -- the default demos play fine though, so that's not it
- two other in sys_sdl.c, in functions which handle basic file read/write duties.
Could anyone give it a look? My C skills are rather hopeless and the functions look innocuous enough to my ignorant eyes -- but maybe it's caused by something entirely different...
And all I really wanted to do is to uncomment some stuff in vid_sdl.c to make mouse behave properly...
Attached Files
sys_sdl.c.txt
(7.7 KB, 107 views)
__________________
.:
different kinds of pop
Quote & Reply
|
trompkins
View Public Profile
Send a private message to trompkins
Visit trompkins's homepage!
Find all posts by trompkins