-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_get_state_model
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
int GB_get_state_model(const char *path, GB_model_t *model);
In save_state.h
Retrieves the model used by a save state file stored under path
. Populates model
and returns 0 on success. Returns a positive errno
value on a POSIX failure and -1 on other failures.
GB_get_state_model
is thread-safe and can be called from any thread and context.
This function also works on save states created by other emulators if they follow the BESS specification.