AerofoilX: Print missing files to stderr.

This commit is contained in:
Karl Robillard
2023-05-23 15:47:33 -04:00
parent 18a0d3a42a
commit 141b176574

View File

@@ -305,6 +305,8 @@ GpIOStream *GpFileSystem_X::OpenFileNested(PortabilityLayer::VirtualDirectory_t
FILE *f = fopen(resolvedPath.c_str(), mode); FILE *f = fopen(resolvedPath.c_str(), mode);
if (!f) if (!f)
{ {
fprintf(stderr, "GpFileSystem_X: Cannot open \"%s\"\n",
resolvedPath.c_str());
free(objStorage); free(objStorage);
return nullptr; return nullptr;
} }