diff --git a/engines/director/tests.cpp b/engines/director/tests.cpp index 5566af5f48f..bf851644024 100644 --- a/engines/director/tests.cpp +++ b/engines/director/tests.cpp @@ -304,6 +304,7 @@ void Window::runTests() { initGraphics(640, 480); _mainArchive = new RIFXArchive(); + g_director->_allOpenResFiles.setVal("test.dir", _mainArchive); if (!_mainArchive->openStream(stream, 0)) { error("DirectorEngine::runTests(): Bad movie data"); }