From 1c519cd6fbd9555fa85a99f25f6e149a0e6c8297 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 30 Nov 2024 21:04:33 +0200 Subject: [PATCH] Updated GB_set_rewind_length (markdown) --- GB_set_rewind_length.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/GB_set_rewind_length.md b/GB_set_rewind_length.md index 5c6ab2e..0be54db 100644 --- a/GB_set_rewind_length.md +++ b/GB_set_rewind_length.md @@ -6,8 +6,15 @@ In `rewind.h` ## Description -TBD +Sets the time limit, in seconds, of the emulator instance's rewind buffer. Changing the buffer's length implicitly [[resets it|GB_rewind_reset]]. + +In order for the debugger to support the `backstep` command, a non-zero rewind length is required. ## Thread Safety `GB_set_rewind_length` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback). + +## See Also + +* [[GB_rewind_pop]] +* [[GB_rewind_reset]] \ No newline at end of file