win32: crash when opening texture pack

Issue #187
This commit is contained in:
flyinghead 2021-03-01 12:44:38 +01:00
parent c3a95594f9
commit 72a61786f4
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ bool CustomTexture::Init()
{
INFO_LOG(RENDERER, "Found custom textures directory: %s", textures_path.c_str());
custom_textures_available = true;
closedir(dir);
flycast::closedir(dir);
loader_thread.Start();
}
}