Fix overlays::image_info constructor
This commit is contained in:
@@ -29,7 +29,7 @@ namespace rsx
|
||||
{
|
||||
fs::file f(filename);
|
||||
|
||||
if (!f)
|
||||
if (!f || f.stat().is_directory)
|
||||
{
|
||||
rsx_log.error("Image resource file `%s' could not be opened (%s)", filename, fs::g_tls_error);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user