mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_save_state_to_buffer (markdown)
parent
62c17319ce
commit
6678678cb6
|
@ -6,8 +6,17 @@ In `save_state.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
TBD
|
Saves a snapshot of the current emulation state of the emulator instance into `buffer`. The size of the buffer must be the return value of [[GB_get_save_state_size]].
|
||||||
|
|
||||||
## Thread Safety
|
## Thread Safety
|
||||||
|
|
||||||
`GB_save_state_to_buffer` must not be called if the instance is being run in any thread, including the current one (via a callback).
|
`GB_save_state_to_buffer` must not be called if the instance is being run in any thread, including the current one (via a callback).
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
SameBoy follows the [BESS](https://github.com/LIJI32/SameBoy/blob/master/BESS.md) specification, and generates save states compatible with other BESS-compliant emulators.
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [[GB_save_state]]
|
||||||
|
* [[GB_load_state_from_buffer]]
|
Loading…
Reference in New Issue