mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-30 14:04:55 +00:00
Log if any currently unhandled flags are encountered.
These are rare and probably not too important, but log a warning when they're seen.
This commit is contained in:
parent
73b78ceb0d
commit
e356494fe8
@ -84,6 +84,10 @@ s32 PS4_SYSV_ABI open(const char* raw_path, s32 flags, u16 mode) {
|
|||||||
bool direct = (flags & ORBIS_KERNEL_O_DIRECT) != 0;
|
bool direct = (flags & ORBIS_KERNEL_O_DIRECT) != 0;
|
||||||
bool directory = (flags & ORBIS_KERNEL_O_DIRECTORY) != 0;
|
bool directory = (flags & ORBIS_KERNEL_O_DIRECTORY) != 0;
|
||||||
|
|
||||||
|
if (sync || direct || dsync || nonblock) {
|
||||||
|
LOG_WARNING(Kernel_Fs, "flags {:#x} not fully handled", flags);
|
||||||
|
}
|
||||||
|
|
||||||
std::string_view path{raw_path};
|
std::string_view path{raw_path};
|
||||||
u32 handle = h->CreateHandle();
|
u32 handle = h->CreateHandle();
|
||||||
auto* file = h->GetFile(handle);
|
auto* file = h->GetFile(handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user