Source code related, troubleshooting crashing
Posted: Sun Mar 19, 2006 1:50 pm
Since I am in the firm beleive that my crashing is machine related, I am not putting this post in the bugs thread.
I have added the following lines in inferno.c
everything build great, however if I open a command prompt (cmd.exe) then change directory to descent2, run d2x-xl.exe, I do not even see the lines test. (nothing in stderr.txt or stout.txt either)
Am I right in assuming everything before this point is initialization of SDl (which in turn drives directx) ?
Thanks in advance
Zefrench
I have added the following lines in inferno.c
Code: Select all
int _CDECL_ main (int argc, char *argv[])
{
int h, i, t;
ubyte title_pal [768];
u_int32_t screen_mode;
con_printf (CON_DEBUG, \"test\\n\\n\");
con_printf (CON_NORMAL, \"test\\n\\n\");
Am I right in assuming everything before this point is initialization of SDl (which in turn drives directx) ?
Thanks in advance
Zefrench