Updated GB_random_set_enabled (markdown)

Lior Halphon 2024-11-26 21:51:32 +02:00
parent 716c4052a6
commit 2fb7e63a21
1 changed files with 5 additions and 1 deletions

@ -6,8 +6,12 @@ In `random.h`
## Description
TBD
When an emulator instance is [[initialized|Instance Allocation]] or [[reset|GB_reset]], SameBoy will use randomness to initialize the contents of the various RAM regions with realistic data. If you wish to force a more deterministic initial state, call `GB_random_set_enabled` with `false` to disable this behavior.
## Thread Safety
`GB_random_set_enabled` is thread-safe and can be called from any thread and context.
## See Also
* [[GB_random_seed]]