From dc45515c11356b8ecaf95d88f2bae833564b3720 Mon Sep 17 00:00:00 2001 From: Naomino <66085784+Naomi-Kali@users.noreply.github.com> Date: Sun, 7 Jul 2024 12:24:36 +0200 Subject: [PATCH] Update libkernel.cpp Changing from char* to const char* Regarding C++ ISO --- src/core/libraries/kernel/libkernel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/libraries/kernel/libkernel.cpp b/src/core/libraries/kernel/libkernel.cpp index ce17a3f2d..6b48cad04 100644 --- a/src/core/libraries/kernel/libkernel.cpp +++ b/src/core/libraries/kernel/libkernel.cpp @@ -295,8 +295,9 @@ int PS4_SYSV_ABI sceKernelUuidCreate(OrbisKernelUuid* orbisUuid) { return 0; } -char* PS4_SYSV_ABI sceKernelGetFsSandboxRandomWord() { - char* path = "sys"; +/// Naomi Rework (Const) +const char* PS4_SYSV_ABI sceKernelGetFsSandboxRandomWord() { + const char* path = "sys"; return path; }