mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-13 11:39:47 +00:00
Fix overlays::image_info constructor
This commit is contained in:
parent
dba2baba9c
commit
3a1082fe0d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
fs::file f(filename);
|
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);
|
rsx_log.error("Image resource file `%s' could not be opened (%s)", filename, fs::g_tls_error);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue