mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
test(libkernel): expect flags 1 from the Linux unwind module lookup
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c24e44c0b4
commit
2d27fbb79b
1 file changed
+1
-1
@@ -16,7 +16,7 @@ static void Require(bool value, const char* message) {
|
||||
|
||||
extern "C" int APS5_VABI sceKernelGetModuleInfoFromAddr(std::uint64_t address, int flags, ModuleInfoEx* info) {
|
||||
Require(address == expectedAddress, "module lookup received the wrong address");
|
||||
Require(flags == 2, "module lookup received the wrong flags");
|
||||
Require(flags == 1, "module lookup received the wrong flags");
|
||||
Require(info != nullptr && info->st_size == sizeof(ModuleInfoEx), "module lookup received the wrong structure size");
|
||||
++calls;
|
||||
return SCE_KERNEL_ERROR_ESRCH;
|
||||
|
||||
Reference in new issue
Block a user