mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_is_save_state (markdown)
parent
b05ede54b5
commit
70bd8edcab
|
@ -6,8 +6,17 @@ In `save_state.h`
|
|||
|
||||
## Description
|
||||
|
||||
TBD
|
||||
Returns `true` if the file at `path` contains a SameBoy or [BESS](https://github.com/LIJI32/SameBoy/blob/master/BESS.md) 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
|
||||
|
||||
* [[GB_get_state_model]]
|
||||
* [[GB_get_state_model_from_buffer]]
|
Loading…
Reference in New Issue