mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-13 11:14:55 +01:00
[rpcsx-os] getdirent: do not report ..
This commit is contained in:
parent
c998b3760a
commit
5a61682b84
|
|
@ -509,6 +509,10 @@ orbis::ErrorCode HostFsDevice::open(orbis::Ref<orbis::File> *file,
|
|||
if (r <= 0)
|
||||
break;
|
||||
|
||||
if (hostEntry.d_name == std::string_view("..")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto &entry = dirEntries.emplace_back();
|
||||
entry.fileno = dirEntries.size(); // TODO
|
||||
entry.reclen = sizeof(entry);
|
||||
|
|
|
|||
Loading…
Reference in a new issue