diff --git a/GB_load_state_from_buffer.md b/GB_load_state_from_buffer.md index 8bf04d3..bcf35bc 100644 --- a/GB_load_state_from_buffer.md +++ b/GB_load_state_from_buffer.md @@ -6,7 +6,7 @@ In `save_state.h` ## 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