Updated GB_load_state_from_buffer (markdown)

Lior Halphon 2024-11-29 14:30:11 +02:00
parent 5f280d0b48
commit 62c17319ce
1 changed files with 1 additions and 1 deletions

@ -6,7 +6,7 @@ In `save_state.h`
## Description ## Description
Loads a snapshot of an emulation state of the emulator instance from `path`. Returns `0` on success, `EIO if the buffer is too short, and `-1` on other failures. Detailed error messages will be written to the [[log|GB_set_log_callback]] on failure. Loads a snapshot of an emulation state of the emulator instance from `buffer` with size `length`. Returns `0` on success, `EIO if the buffer is too short, and `-1` on other failures. Detailed error messages will be written to the [[log|GB_set_log_callback]] on failure.
## Thread Safety ## Thread Safety