#header #bindings #set #kernel #vitasdk #psp2 #ps-vita

nightly sys no-std psp2-sys

Unsafe Rust FFI bindings to the psp2 headers

5 releases

Uses old Rust 2015

0.2.2 Sep 12, 2018
0.2.1 Sep 12, 2018
0.2.0 Jul 6, 2018
0.1.1 Jul 4, 2018
0.1.0 Jul 4, 2018

#1648 in Hardware support


Used in vitallocator

MIT license

135KB
1K SLoC

psp2-sys

Unsafe Rust FFI bindings to the psp2 headers.

TravisCI Source Changelog Crate Documentation CargoMake

Usage

This crate will link statically to the required library stubs, so you'll need the vitasdk set up and the $VITASDK environment variable set.

See the examples to see how to setup a project using the raw bindings, or use the vita crate for a safe API closer to the Rust std library.

The submodules in this crate follow the file hierarchy of the psp2 headers: so the FFI in the psp2_sys::kernel::threadmgr are the ones you would get in C after including psp2/kernel/threadmgr.h.

Credits

Disclaimer

psp2-sys is not affiliated, sponsored, or otherwise endorsed by Sony Interactive Entertainment, LLC. PlayStation and PS Vita are trademarks or registered trademarks of Sony Interactive Entertainment, LLC. This software is provided "as is" without warranty of any kind under the MIT License.

No runtime deps