comparison src/dmsimple.c @ 2106:78a0f44aa8b5

Clean out the resource path handling.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 08 May 2019 13:56:10 +0300
parents cbb3463fea2a
children 69a5af2eb1ea
comparison
equal deleted inserted replaced
2105:eebe338b3c39 2106:78a0f44aa8b5
662 goto out; 662 goto out;
663 } 663 }
664 664
665 // Initialize resource subsystem 665 // Initialize resource subsystem
666 dmPrint(1, "Initializing resources subsystem.\n"); 666 dmPrint(1, "Initializing resources subsystem.\n");
667 if ((err = dmResourcesInit(&engine.resources, engine.optPackFilename, 667 if ((err = dmResourcesInit(&engine.resources,
668 engine.optDataPath, engine.optResFlags, engineClassifier)) != DMERR_OK) 668 engine.optPackFilename, "data/",
669 engine.optResFlags, engineClassifier)) != DMERR_OK)
669 { 670 {
670 dmErrorMsg( 671 dmErrorMsg(
671 "Could not initialize resource manager, #%d: %s.\n", 672 "Could not initialize resource manager, #%d: %s.\n",
672 err, dmErrorStr(err)); 673 err, dmErrorStr(err));
673 goto out; 674 goto out;