mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
34 lines
859 B
Odin
34 lines
859 B
Odin
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)
|