mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 18:59:04 +02:00
Add a static method for creating PSPPointers.
This is still kinda ugly, but the assignment thing was just too ugly, I couldn't do it anymore.
This commit is contained in:
1 parent
90b649c9fc
commit
183b4cb45c
12 files changed
+25
-38
No files matched your search
@@ -1803,8 +1803,7 @@ u32 sceKernelQueryModuleInfo(u32 uid, u32 infoAddr)
|
||||
return -1;
|
||||
}
|
||||
|
||||
PSPPointer<ModuleInfo> info;
|
||||
info = infoAddr;
|
||||
auto info = PSPPointer<ModuleInfo>::Create(infoAddr);
|
||||
|
||||
memcpy(info->segmentaddr, module->nm.segmentaddr, sizeof(info->segmentaddr));
|
||||
memcpy(info->segmentsize, module->nm.segmentsize, sizeof(info->segmentsize));
|
||||
|
||||
Reference in new issue
Block a user