Changeset 544 for abuse/trunk/src/game.cpp
- Timestamp:
- Apr 28, 2011, 1:07:39 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/game.cpp
r541 r544 1339 1339 } 1340 1340 1341 extern void fast_load_start_recording(char *name);1342 extern void fast_load_stop_recording();1343 extern void fast_load_start_reloading(char *name);1344 extern void fast_load_stop_reloading();1345 1346 1341 Game::Game(int argc, char **argv) 1347 1342 { … … 1384 1379 else has_joystick = 0; 1385 1380 1381 // Clean up that old crap 1382 char *fastpath = (char *)malloc(strlen(get_save_filename_prefix()) + 13); 1383 sprintf(fastpath, "%sfastload.dat", get_save_filename_prefix()); 1384 unlink(fastpath); 1385 free(fastpath); 1386 1386 1387 // ProfilerInit(collectDetailed, bestTimeBase, 2000, 200); //prof 1387 char *fastpath;1388 fastpath = (char *)malloc(strlen(get_save_filename_prefix()) + 12 + 1);1389 sprintf(fastpath, "%sfastload.dat", get_save_filename_prefix());1390 fast_load_start_recording(fastpath);1391 1388 load_data(argc, argv); 1392 fast_load_stop_recording();1393 free(fastpath);1394 1389 // ProfilerDump("\pabuse.prof"); //prof 1395 1390 // ProfilerTerm();
Note: See TracChangeset
for help on using the changeset viewer.