From 62c17319ce68eb365c61a3eda27c7447f86d2cdf Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 29 Nov 2024 14:30:11 +0200 Subject: [PATCH] Updated GB_load_state_from_buffer (markdown) --- GB_load_state_from_buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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