mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 15:30:50 +00:00
Fix qfcc test harness tracing
Just a consequence of progs execution state being initialized properly.
This commit is contained in:
parent
6739f5df4d
commit
ca6fe0730b
1 changed files with 2 additions and 2 deletions
|
@ -150,8 +150,6 @@ init_qf (void)
|
||||||
pr.allocate_progs_mem = allocate_progs_mem;
|
pr.allocate_progs_mem = allocate_progs_mem;
|
||||||
pr.free_progs_mem = free_progs_mem;
|
pr.free_progs_mem = free_progs_mem;
|
||||||
pr.no_exec_limit = 0; // absolutely want a limit!
|
pr.no_exec_limit = 0; // absolutely want a limit!
|
||||||
pr.pr_trace_depth = -1;
|
|
||||||
pr.pr_trace = options.trace;
|
|
||||||
|
|
||||||
PR_Init_Cvars ();
|
PR_Init_Cvars ();
|
||||||
PR_Init (&pr);
|
PR_Init (&pr);
|
||||||
|
@ -178,6 +176,8 @@ load_progs (const char *name)
|
||||||
Qclose (file);
|
Qclose (file);
|
||||||
if (!PR_RunLoadFuncs (&pr))
|
if (!PR_RunLoadFuncs (&pr))
|
||||||
PR_Error (&pr, "unable to load %s", pr.progs_name);
|
PR_Error (&pr, "unable to load %s", pr.progs_name);
|
||||||
|
pr.pr_trace_depth = -1;
|
||||||
|
pr.pr_trace = options.trace;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue