mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-03 22:34:19 +01:00
[rpcsx-os] open dir: ignore '.'
This commit is contained in:
parent
f8afd67812
commit
6b24ed11a1
|
|
@ -514,7 +514,8 @@ orbis::ErrorCode HostFsDevice::open(orbis::Ref<orbis::File> *file,
|
|||
if (r <= 0)
|
||||
break;
|
||||
|
||||
if (hostEntry.d_name == std::string_view("..")) {
|
||||
if (hostEntry.d_name == std::string_view("..") ||
|
||||
hostEntry.d_name == std::string_view(".")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue