From c2f18dc7b015d02ee6d4528f0e03b49961bd7265 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Wed, 8 Nov 2023 07:57:45 +0200 Subject: [PATCH] Update src/core/hle/libraries/libkernel/file_system.cpp Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com> --- src/core/hle/libraries/libkernel/file_system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/libraries/libkernel/file_system.cpp b/src/core/hle/libraries/libkernel/file_system.cpp index eb46143e..96c8b9d7 100644 --- a/src/core/hle/libraries/libkernel/file_system.cpp +++ b/src/core/hle/libraries/libkernel/file_system.cpp @@ -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::Instance(); auto* mnt = Common::Singleton::Instance();