Updated GB_load_battery_from_buffer (markdown)

Lior Halphon 2024-11-29 13:50:07 +02:00
parent a83ca16685
commit a2355ca902
1 changed files with 10 additions and 1 deletions

@ -6,8 +6,17 @@ In `gb.h`
## 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
`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]]