mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_load_battery_from_buffer (markdown)
parent
a83ca16685
commit
a2355ca902
|
@ -6,8 +6,17 @@ In `gb.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
TBD
|
Loads battery-backed information (e.g. battery-powered cartridge RAM or Real Time Clock information) from `buffer` with length `size` into the emulator instance. This function never fails, and will load partial information if the buffer isn't large enough.
|
||||||
|
|
||||||
## Thread Safety
|
## Thread Safety
|
||||||
|
|
||||||
`GB_load_battery_from_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_load_battery_from_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).
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
SameBoy battery saves are compatible with most other emulators and vice versa.
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [[GB_load_battery]]
|
||||||
|
* [[GB_save_battery_to_buffer]]
|
Loading…
Reference in New Issue