[][src]Crate psp

Re-exports

pub use panic::catch_unwind;

Modules

math
panic

Panic support for the PSP.

sys

PSP OS System API

test_runner
vram_alloc

Macros

dprint

Like print!, but prints to the PSP screen.

dprintln

Like println!, but prints to the PSP screen.

module

Declare a PSP module.

vfpu_asm

A macro-based VFPU assembler.

Structs

Align16

Constants

BUF_WIDTH

The screen buffer width is padded from 480 pixels to a power of 2 (512)

SCREEN_HEIGHT

PSP screen height in pixels

SCREEN_WIDTH

PSP screen width in pixels

Functions

benchmark

Execute f iterations times and return average duration per iteration

enable_home_button

Enable the home button.

screenshot_argb_be

Take a screenshot, returning a raw ARGB (big-endian) array.

screenshot_bmp

Take a screenshot, returning a valid bitmap file.