-
-
Notifications
You must be signed in to change notification settings - Fork 248
GB_is_save_state
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
bool GB_is_save_state(const char *path);
In save_state.h
Returns true if the file at path contains a SameBoy or BESS save state.
GB_is_save_state is thread-safe and can be called from any thread and context.
This function merely checks for header and footer magic values, it does not guarantee the file will successfully load with GB_load_state, etc.