mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_save_battery_to_buffer (markdown)
parent
f18bc02ee3
commit
df6b05336c
|
@ -6,8 +6,14 @@ In `gb.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
TBD
|
Saves battery-backed information (e.g. battery-powered cartridge RAM or Real Time Clock information) from the emulator instance into `buffer`. Returns `0` on success and `EIO` if `size` is less than the value returned by [[GB_save_battery_size]].
|
||||||
|
|
||||||
## Thread Safety
|
## Thread Safety
|
||||||
|
|
||||||
`GB_save_battery_to_buffer` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).
|
`GB_save_battery_to_buffer` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [[GB_save_battery_size]]
|
||||||
|
* [[GB_load_battery_from_buffer]]
|
||||||
|
* [[GB_save_battery]]
|
Loading…
Reference in New Issue