mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 15:40:30 +01:00
[orbis-kernel] Stub sys_getdirentries
This commit is contained in:
parent
8e9026bf8c
commit
306fecf2ab
|
|
@ -259,7 +259,9 @@ orbis::SysResult orbis::sys_rmdir(Thread *thread, ptr<char> path) {
|
|||
orbis::SysResult orbis::sys_getdirentries(Thread *thread, sint fd,
|
||||
ptr<char> buf, uint count,
|
||||
ptr<slong> basep) {
|
||||
return ErrorCode::NOSYS;
|
||||
ORBIS_LOG_ERROR(__FUNCTION__, fd, (void *)buf, count, basep);
|
||||
thread->where();
|
||||
return {};
|
||||
}
|
||||
orbis::SysResult orbis::sys_getdents(Thread *thread, sint fd, ptr<char> buf,
|
||||
size_t count) {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ enum OpenFlags {
|
|||
kOpenFlagExcl = 0x800,
|
||||
kOpenFlagDSync = 0x1000,
|
||||
kOpenFlagDirect = 0x10000,
|
||||
kOpenFlagDirectory = 0x20000,
|
||||
};
|
||||
|
||||
struct IoDeviceInstance : orbis::RcBase {
|
||||
|
|
|
|||
Loading…
Reference in a new issue