Update src/core/hle/libraries/libkernel/file_system.cpp

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
georgemoralis 2023-11-08 07:57:45 +02:00 committed by GitHub
parent d4ac82eef2
commit c2f18dc7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ constexpr bool log_file_fs = true; // disable it to disable logging
int PS4_SYSV_ABI sceKernelOpen(const char* path, int flags, u16 mode) {
LOG_INFO_IF(log_file_fs, "sceKernelOpen path = {} flags = {:#x} mode = {:#x}\n", path, flags, mode);
bool isDirectory = (flags & SCE_KERNEL_O_DIRECTORY) != 0;
bool create = (flags & SCE_KERNEL_O_CREAT) != 0;
const bool isDirectory = (flags & SCE_KERNEL_O_DIRECTORY) != 0;
const bool create = (flags & SCE_KERNEL_O_CREAT) != 0;
auto* h = Common::Singleton<Core::FileSys::HandleTable>::Instance();
auto* mnt = Common::Singleton<Core::FileSys::MntPoints>::Instance();