Skip to content

GB_is_save_state

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

bool GB_is_save_state(const char *path);

In save_state.h

Description

Returns true if the file at path contains a SameBoy or BESS save state.

Thread Safety

GB_is_save_state is thread-safe and can be called from any thread and context.

Notes

This function merely checks for header and footer magic values, it does not guarantee the file will successfully load with GB_load_state, etc.

See Also

Clone this wiki locally