View Issue Details

IDProjectCategoryView StatusLast Update
0004399The Dark ModCodingpublic22.10.2016 21:51
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.04 
Target VersionTDM 2.05Fixed in VersionTDM 2.05 
Summary0004399: Slightly improve mission load time
DescriptionCourtesy of duzenko, we have a patch to remove 1s of delay from the mission load time.

His patch:

Index: framework/Session.cpp
===================================================================
--- framework/Session.cpp (revision 6635)
+++ framework/Session.cpp (working copy)
@@ -437,9 +437,9 @@
 
     // introduced in D3XP code. don't think it actually fixes anything, but doesn't hurt either
     // Try and prevent the while loop from being skipped over (long hitch on the main thread?)
- int stop = Sys_Milliseconds() + 1000;
+ /*int stop = Sys_Milliseconds() + 1000;
     int force = 10;
- while ( Sys_Milliseconds() < stop || force-- > 0 ) {
+ while ( Sys_Milliseconds() < stop || force-- > 0 )*/ {
         com_frameTime = com_ticNumber * USERCMD_MSEC;
         session->Frame();
         session->UpdateScreen( false );
TagsNo tags attached.

Activities

grayman

grayman

22.10.2016 21:51

viewer   ~0008387

Fixed in rev #6638.

Issue History

Date Modified Username Field Change
22.10.2016 21:46 grayman New Issue
22.10.2016 21:46 grayman Status new => assigned
22.10.2016 21:46 grayman Assigned To => grayman
22.10.2016 21:51 grayman Note Added: 0008387
22.10.2016 21:51 grayman Status assigned => resolved
22.10.2016 21:51 grayman Resolution open => fixed
22.10.2016 21:51 grayman Fixed in Version => TDM 2.05