mirror of
https://github.com/RPCSX/rpcsx.git
synced 2024-10-07 00:33:30 +00: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 New Issue
Block a user