summaryrefslogtreecommitdiff
path: root/src/psp/openpsid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/psp/openpsid.rs')
-rw-r--r--src/psp/openpsid.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/psp/openpsid.rs b/src/psp/openpsid.rs
new file mode 100644
index 0000000000..7a348511c7
--- /dev/null
+++ b/src/psp/openpsid.rs
@@ -0,0 +1,9 @@
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub struct OpenPSID {
+ pub data: [u8; 16usize],
+}
+
+extern {
+ pub fn sceOpenPSIDGetOpenPSID(openpsid: *mut OpenPSID) -> i32;
+}