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

Crate psx_segments

Crate psx_segments 

Source
Expand description

Bounded segment selection and independent launch requests.

Games render the selection with their existing debug menu, own the load and spawn types, and apply their complete save state. Diagnostic reset launches remain a separate operation and never count as progression-backed coverage. This crate neither polls controllers nor owns a renderer or a mailbox.

Structs§

LaunchRequest
Fixed-width control request. Zero is an idle mailbox, never a launch.
Provenance
Immutable evidence for a game’s complete captured state.
Segment
A row shared by the debug page, coverage export and journey launch lookup.
Selection
Allocator-free selection whose bounds are fixed at construction.

Enums§

ConsumeResult
An explicit result for a once-consumed control request.
Launch
Validated launch, borrowing the table without copying a save payload.
LaunchError
Request or table rejection, before any game callback runs.
Progression
Availability of earned progression at this segment.

Constants§

MODE_DIAGNOSTIC
Launch with the game’s existing diagnostic reset behavior.
MODE_PLAYTHROUGH
Launch from a real captured playthrough state.
REQUEST_VERSION
Current control request version, separate from a game’s observed gate state.

Functions§

consume
Consume a locally owned request before validation or callbacks.
validate
Validate the whole identifier table and resolve a request before side effects.