Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

HANDLER_STACK_BYTES

Constant HANDLER_STACK_BYTES 

Source
pub const HANDLER_STACK_BYTES: usize = 768;
Expand description

Bytes of private stack the handler runs on.

The deepest call measured used 248 bytes (a Half-Life run of five weapon switches in the emulator, every sector popped by the handler, with the stack painted by install); the pad engine’s comparable handler gets the same 768. RAM matters to the games that fit tight, and 2 KiB of it sat unused.