From 705d326a6d29c94bfb55abeb33b82768b692e987 Mon Sep 17 00:00:00 2001 From: raphaelthegreat <47210458+raphaelthegreat@users.noreply.github.com> Date: Wed, 5 Jun 2024 22:27:28 +0300 Subject: [PATCH] kernel: Fix stack corruption from OrbisTimesec --- src/core/libraries/kernel/libkernel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libraries/kernel/libkernel.h b/src/core/libraries/kernel/libkernel.h index ff1f8439..56148286 100644 --- a/src/core/libraries/kernel/libkernel.h +++ b/src/core/libraries/kernel/libkernel.h @@ -14,8 +14,8 @@ namespace Libraries::Kernel { struct OrbisTimesec { time_t t; - u64 west_sec; - u64 dst_sec; + u32 west_sec; + u32 dst_sec; }; int32_t PS4_SYSV_ABI sceKernelReleaseDirectMemory(off_t start, size_t len);