update to latest vita-headers

This commit is contained in:
2025-06-22 21:02:09 +02:00
parent e0258aa945
commit 3c273d6daf
18 changed files with 1171 additions and 28 deletions
+33
View File
@@ -0,0 +1,33 @@
package photoimport
import "core:c"
import sce "../common"
ScePhotoImportDialogImportInfo :: struct {
path: [0x400]c.char,
unk_0x400: [0x100]c.char,
unk_0x500: [0x20]sce.UInt8,
unk_0x520: c.int,
unk_0x524: c.int,
unk_0x528: c.int,
unk_0x52C: c.int,
}
#assert(size_of(ScePhotoImportDialogImportInfo) == 0x530) // not sure for size.
ScePhotoImportDialogParam :: struct {
sdkVersion: sce.UInt32,
commonParam: sce.CommonDialogParam,
unk_0x50: sce.UInt32, // should be 0
unk_0x54: sce.UInt32, // should be `(unk_0x54 & 7) != 0 && (unk_0x54 & ~7) == 0`
unk_0x58: sce.UInt32,
unk_0x5C: rawptr,
unk_0x60: [0x20]sce.UInt8,
}
#assert(size_of(ScePhotoImportDialogParam) == 0x80)
ScePhotoImportDialogResult :: struct {
result: sce.Int32,
unk_0x04: sce.Int32,
reserved: [0x20]sce.Char8,
}
#assert(size_of(ScePhotoImportDialogResult) == 0x28)